My collection of dotfiles to use with GNU Stow
- Emacs Lisp 72.3%
- HTML 20.7%
- Python 4.7%
- CSS 2.3%
| doom/.config/doom | ||
| emacs/.emacs.d | ||
| ghostty/.config/ghostty | ||
| git | ||
| mako/.config/mako | ||
| opencode | ||
| ssh/.ssh | ||
| sway/.config/sway | ||
| waybar/.config/waybar | ||
| wofi/.config/wofi | ||
| zsh | ||
| .gitignore | ||
| README.md | ||
dotfiles
Personal configuration, one GNU Stow package per program.
Each package mirrors the layout under $HOME.
| Package | What it configures |
|---|---|
sway |
Sway window manager, plus scripts/autotile.py for bspwm-style alternating splits |
waybar |
Top bar style (config comes from the system default /etc/xdg/waybar/config) |
mako |
Notifications |
emacs |
Emacs (~/.emacs.d) |
doom |
Doom Emacs |
ghostty |
Terminal |
zsh |
Shell |
git |
Git |
ssh |
SSH client hosts (work and home) |
opencode |
OpenCode |
Install
git clone <this repo> ~/dotfiles
cd ~/dotfiles
stow sway waybar mako # or any other packages
Stow refuses to overwrite existing files, so move your own configs out of the way first.
Sway setup (Ubuntu 24.04)
sudo apt install stow sway swaybg swayidle swaylock waybar wofi mako-notifier \
grim slurp wl-clipboard brightnessctl blueman lxpolkit xdg-desktop-portal-wlr
- The bar icons need Font Awesome 6 Free and Symbols Nerd Font in
~/.local/share/fonts. Ubuntu'sfonts-font-awesomeis version 4.7 and lacks some of the icons. sway/.config/sway/configis tuned to this machine: output names (DP-3,DP-5,eDP-1) and positions,us/eskeyboard layouts, and startup apps (Zen, ghostty, Thunderbird, Emacs). Adjust those sections. List your outputs withswaymsg -t get_outputs.- To pick Sway at the GDM login screen, Wayland must be enabled in
/etc/gdm3/custom.conf(noWaylandEnable=false).
Keys use Super as the modifier: Super+Return terminal, Super+d launcher, Super+Space next keyboard layout, Super+Escape lock, Super+Shift+c reload. Caps Lock and left Ctrl are swapped.
Per-machine git identity
git/.gitconfig holds only shared settings and includes ~/.gitconfig.local last.
Create that file on each machine (it is not tracked):
[user]
email = you@example.com
signingkey = <your GPG key id>
Secrets
Nothing secret is tracked. zsh/.zshrc sources ~/.config/zsh/secrets.zsh when it exists;
put API keys and tokens there.