Skip to content

Latest commit

 

History

History
40 lines (35 loc) · 1.23 KB

README.md

File metadata and controls

40 lines (35 loc) · 1.23 KB

dotfiles

Usage

  • Stowing my dotfiles to your $HOME

    In order to stow my dotfiles you must have git and GNU stow installed.

    1. Clone my repo (no specific location required) and cd into the cloned dotfiles directory.
    git clone https://github.com/fabestah/dotfiles.git
    1. Simulate your stow operation before actually invoking it by using the n option to check for potential conflicts.
    stow -nvSt ~ zsh qtile
    1. Remove the n option and stow the packages you want to have.
    stow -vSt ~ zsh qtile
  • Install packages from my packages list

    • Install all packages (with an AUR helper)
    yay -S < packages.list
    • Only install pacman packages
    sudo pacman -S $(comm -12 <(pacman -Slq | sort) <(sort packages.list))
    • Uninstall packages not listed in the packages list
    sudo pacman -Rsu $(comm -23 <(pacman -Qq | sort) <(sort packages.list))
  • Unstow packages from your $HOME (remove symlinks)

    1. cd into the cloned dotfiles directory.
    2. Unstow the packages you want to have removed (simulate the operation by using the n option once again before unstowing).
    stow -vDt ~ zsh qtile