Contents
Window Manager: Sway
Status Bar: Swaybar & I3status
Terminal: Foot
Shell: Zsh
Editor: NeoVim
Multiplexer: Tmux
Password Manager: Pass
WiFi Manager: Network Manager
File Manager: Yazi
Pdf Reader: Zathura
Bootloader: EFI Stub
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 |
| 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} |
| Focus window | Super + {H, J, K, L} |
| Fullscreen window | Super + F |
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
-
zk-nvim - integration zk util with neovim
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
packages_list.md - List of all neaded packages for my system.
Lomarco's Dotfiles is licensed under the Unlicense. See the license for details.