Contents
| Window Manager | Sway |
| Status Bar | Swaybar & I3status-Rust |
| Terminal | Foot |
| Shell | Zsh & Rac |
| Editor | NeoVim |
| Multiplexer | Tmux |
| Password Manager | Pass |
| WiFi Manager | Network Manager |
| File Manager | Yazi |
| Pdf Reader | Zathura |
| Notes Manager | Noca |
| Bootloader | EFI Stub |
req.md - List of all neaded packages for my system.
arch - /etc/ directory for arch.
nixos - /etc/nixos/ directory for nixos.
Init and update submodules:
git submodule update --init --recursiveUpdate to latest changes:
git submodule update --remoteInstall and select configs (home config for example. See make help for information):
make homeBecome an root:
sudo -iLaunch wpa_supplicant:
systemctl start wpa_supplicant
wpa_cliIn wpa_cli:
add_network
set_network 0 ssid "YOUR_SSID_NETWORK"
set_network 0 psk "YOUR_PASSWORD"
enable_network 0
quit
Clone dotfiles repo:
git clone --depth 1 --recursive https://github.com/lomarco/dotfiles.git /mnt/nixos-config
cd /mnt/nixos-config/nixos
nix --extra-experimental-features "flakes nix-command" flake updateCreate partitions on disk:
nix run --extra-experimental-features "flakes nix-command" github:nix-community/disko -- --mode disko ./disko.nixMount root:
mount /dev/disk/by-label/nixos-root /mntInstall system:
nixos-install --flake .#hostname
reboot| Action | Shortcut |
|---|---|
| Open terminal | Super + Enter |
| Launch browser | Super + Shift + B |
| Launch launcher | Super + D |
| Launch zathura | Super + Shift + Z |
| Launch telegram | Super + Shift + T |
| Open color picker | Super + P |
| Zoom/control app | Super + O |
| Take screenshot | PrintScreen |
| Take a part of screen | Super + C |
| Kill window | Super + Shift + Q |
| Exit sway | Super + Shift + E |
| Reload sway config | Super + Shift + C |
| Switch workspace | Super + {1..0} |
| Move container to WS | Super + Shift + {1..0} |
| Focus window | Super + {H, J, K, L} |
| Move window | Super + Shift + {H, J, K, L} |
| Fullscreen window | Super + F |
| Split horizontally | Super + B |
| Split vertically | Super + V |
| Stacking layout | Super + S |
| Tabbed layout | Super + W |
| Toggle split layout | Super + E |
| Toggle floating | Super + Shift + Space |
| Toggle focus mode | Super + Space |
| Focus parent | Super + A |
| Resize mode | Super + R |
| Move to scratchpad | Super + Shift + - |
| Show scratchpad | Super + - |
| Clipboard history | Super + N |
| Audio mute | XF86AudioMute |
| Volume down | XF86AudioLowerVolume |
| Volume up | XF86AudioRaiseVolume |
| Mic mute | XF86AudioMicMute |
| Brightness down | XF86MonBrightnessDown |
| Brightness up | XF86MonBrightnessUp |
Other hotkeys are available in the sway config.
Neovim config is a minimalistic, single-file configuration for programming in C, ASM, and C++, working with Git, and taking notes in Markdown. It includes essential plugins and sensible defaults for a smooth coding workflow.
-
lazy.nvim - plugin manager
-
copilot.vim - AI code completion
-
telescope.nvim - fuzzy finder for files, buffers, grep
-
nvim-treesitter - syntax highlighting and indentation
-
nvim-lspconfig - language server protocol support
-
nvim-cmp - autocompletion framework
-
mason.nvim and mason-lspconfig.nvim - LSP installer and manager
-
gitsigns.nvim - git integration and signs
-
Comment.nvim - easy code commenting
-
mini.tabline - tabline for buffers
-
autoclose.nvim - automatic closing of brackets and quotes
-
tagbar - code structure sidebar
-
oil.nvim - file explorer with git status
Color schemes like kanagawa.nvim and tokyonight.nvim
<leader>h — toggle integrated terminal window
jk (insert mode) — quickly exit insert mode
Buffer navigation: gn (next), gp (previous), gw (close buffer), ge (open new empty buffer)
Completion navigation with <Tab> and <Shift-Tab> to select suggestions
LSP shortcuts:
gd — go to definition
gi — go to implementation
K — show hover information
<leader>ca — code actions
<leader>r — rename symbol
<leader>e — open diagnostics float
[d and ]d — jump between diagnostics
<leader>f — format file
Lomarco's Dotfiles is licensed under the Unlicense. See the license for details.


