This repository contains my configuration files (dotfiles) for various programs, managed using GNU Stow.
Make sure you have GNU Stow installed. On Void Linux, you can install it with:
sudo xbps-install -S stow
Clone this repository into your home directory (or any location you prefer):
git clone https://github.com/lev-linux/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
To create symlinks for a specific program, use:
stow <package>
For example, to apply the configurations for dwm
and zsh
, run:
stow dwm
stow zsh
This will create symlinks in your home directory (~
), pointing to the corresponding files in ~/.dotfiles/dwm/
and ~/.dotfiles/zsh/
.
If you need to overwrite existing files, use:
stow -D <package>
before restowing to remove old symlinks.
Each configuration is stored in a separate directory, mimicking the home directory structure. For example:
~/.dotfiles/
├── dwm/
│ ├── .config/dwm/config.h
│ ├── .config/dwm/autostart.sh
│ └── ...
├── zsh/
│ ├── .zshrc
│ ├── .zshenv
│ └── ...
└── ...
To update a configuration, modify the files inside ~/.dotfiles/<package>/
, then commit and push the changes.
To remove symlinks for a specific package, use:
stow -D <package>
Feel free to modify these dotfiles to suit your workflow. If you use different paths or need additional setups, update this README accordingly!