Thanks to visit codestin.com
Credit goes to github.com

Skip to content

lomarco/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lomarco's Dotfiles

Lomarco's Dotfiles preview

Contents

Toolchain

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

Gallery

Image 1
Image 2

Install Guide

Init and update submodules:

git submodule update --init --recursive

Update to latest changes:

git submodule update --remote

Install and select configs (home config for example. See make help for information):

make home

Instalation Nixos guide

Become an root:

sudo -i

Launch wpa_supplicant:

systemctl start wpa_supplicant
wpa_cli

In 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 update

Create partitions on disk:

nix run --extra-experimental-features "flakes nix-command" github:nix-community/disko -- --mode disko ./disko.nix

Mount root:

mount /dev/disk/by-label/nixos-root /mnt

Install system:

nixos-install --flake .#hostname
reboot

Sway Hotkeys

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

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.

Included Plugins and Modules

  • 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

Basic Keybindings

<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

Repository Structure

packages_list.md - List of all neaded packages for my system.

Base

Scripts

License

Lomarco's Dotfiles is licensed under the Unlicense. See the license for details.