Personal config for Arch (niri, Dank Material Shell) and macOS. Files under env/ mirror $HOME and are linked into place with GNU Stow.
| Path | Purpose |
|---|---|
env/ |
Dotfiles, stowed into $HOME (.config/, .local/bin/, .gitconfig, ...) |
env-work/ |
Work-only overrides (e.g. .gitconfig-work) |
init |
Initialises submodules |
run-arch, run-macos |
Machine bootstrap, calling the scripts in runs/ |
runs/{arch,macos,common}/ |
Individual setup steps: package managers, packages, shell, toolchains |
| Path | Repo |
|---|---|
env/.pi/agent |
pi-config: pi (coding agent) extensions and settings. Contains its own nested submodule, extensions/pi-ask-user-question. |
Edits inside a submodule are committed and pushed in that repo first. Then commit the updated submodule pointer here.
git clone --recurse-submodules <url> ~/dotfiles
cd ~/dotfiles
./run-arch # or ./run-macos: packages, fish, toolchains, tmux, neovim
stow env # link dotfiles into $HOME (run from ~/dotfiles; stow targets the parent dir)If you cloned without --recurse-submodules, run ./init (or git submodule update --init --recursive).
run-* installs stow, sets fish as the login shell and bootstraps fisher plugins (fish_plugins).
- yazi: plugins and flavors listed in
env/.config/yazi/package.tomlare not tracked. Install them withya pkg install. Custom plugins (folder-rules,smart-tab) and thetokyonight_nightflavor are tracked. - tmux: TPM is cloned by
runs/common/tmux.sh. Pressprefix + Ito install plugins. - neovim: installed through
bobbyruns/common/neovim.sh. The config lives in its own repo (neovim-config), not here. - pi: run
/loginin pi to restore credentials.auth.jsonand sessions are intentionally not tracked.
Some files are ignored on purpose because tools regenerate them:
- fish: plugin files in
functions/,themes/, and some ofconf.d/andcompletions/, plusfish_variables. Put your own functions incustom_functions/, which is added tofish_function_path.functions/is ignored. - yazi: plugins and flavors managed by
ya pkg. - tmux:
plugins/.
Colors come from matugen (templates in env/.config/matugen/) and are regenerated when the wallpaper changes (wallpaper-set). Files such as niri/colors.kdl, mako/colors, swaync/colors-matugen.css and ghostty/themes/matugen are generated output that is committed, so they will show up as diffs after changing the wallpaper.