This directory contains the dotfiles for my system
Ensure you have the following installed on your system
Depending on your OS:
- Mac use Brew
- Linux/WSL2 use your package manager (
sudo apt install,sudo dnf install,pacman -Setc.)
brew install gitbrew install stowThese tools are used by the configurations in this repo:
- Alacritty - Terminal emulator
- Wofi - Application launcher (Wayland)
- Nerd Fonts - Specifically CaskaydiaMono Nerd Font
- fzf - Fuzzy finder
- fd - Better find
- eza - Better ls
- bat - Better cat
- zoxide - Better cd
- ripgrep - Better grep
Clone this repository to your $HOME directory:
git clone <repository-url>
cd dotfilesThen use GNU stow to create symlinks
stow .Using GNU Stow with .local on WSL2 vs macOS
On macOS running stow .local inside the .dotfiles directory worked as expected.
However on Ubuntu/WSL2 it seems GNU Stow treats .local as a package folder (i.e. it tries to create ~/bin instead of ~/.local/bin).
To get around this run stow with the --target option to specify the target directory:
stow --target=$HOME/.local .localAfter stowing tmux config, you need to be in a tmux session:
tmux new -s new-sessionOnce you source with tmux source-file ~/.config/tmux/tmux.conf the changes will apply and you can source any new changes with prefix + r
After watching @tony-btw on YT I decided to go for the minimal tmux config without plugins.
You can find a link here to his setup and keybindings.
The projects-wofi.sh script allows you to quickly open projects in tmux sessions using wofi.
Note: The script is configured to search ~/dev by default. Edit the script to change this to your preferred projects directory.
Recommended keybinding: Super + P (or your preferred shortcut)
Set this up in your DE/WM configuration:
- GNOME: Settings → Keyboard → Custom Shortcuts
- KDE: System Settings → Shortcuts → Custom Shortcuts
- Hyprland/Sway: Add to config:
bind = SUPER, P, exec, ~/.local/bin/projects-wofi.sh - i3/bspwm: Add to config:
bindsym $mod+p exec ~/.local/bin/projects-wofi.sh