Personal CachyOS dotfiles for a Hyprland (Wayland) session with DMS (Dux Modular Shell): Ghostty, Alacritty, fish, Hyprland, DMS, AstroNvim, Zed, OpenCode, and the Bibata cursor theme.
Most directories are symlinked into the live config, so editing a file here changes the running desktop immediately.
KineticWE, Noctalia, and the KDE Plasma packages were removed on 2026-11-20. Their configs remain in this repo as an archive only; Hyprland + DMS is the only session. See Archived KineticWE.
git clone https://github.com/opigod/dotfiles.git ~/dotfiles
cd ~/dotfiles
./install.shinstall.sh is idempotent and non-destructive:
- creates the config symlinks and copies the files that cannot be symlinked;
- keeps existing files by default, and with
--forcemoves them to<path>.bak.<timestamp>before replacing them; - installs the cursor theme with
sudo(it writes to/usr/share/icons); - activates the tracked pre-commit guard, which rejects staged API keys, tokens, and passwords (empty placeholders are fine);
- never touches
~/.config/opencode/service.jsonor~/.config/dms/plugin_settings.json.
Useful flags: --dry-run, --yes, --force, --skip-cursor,
--skip-opencode. See ./install.sh --help.
| Repository | Live path | Kind |
|---|---|---|
ghostty/ |
~/.config/ghostty |
symlink |
hypr/ |
~/.config/hypr |
symlink |
dms/ |
~/.config/dms |
symlink (runtime files ignored) |
alacritty/ |
~/.config/alacritty |
symlink |
fish/ |
~/.config/fish |
symlink (fish_variables stays local) |
autostart/ |
~/.config/autostart |
symlink |
xsettingsd/ |
~/.config/xsettingsd |
symlink |
environment.d/90-dms.conf |
~/.config/environment.d/90-dms.conf |
file symlink |
mimeapps.list |
~/.config/mimeapps.list |
file symlink |
nvim/ |
~/.config/nvim |
symlink |
zed-stuff/zed/ |
~/.config/zed |
symlink |
zed-stuff/vesper-blur/ |
~/.local/share/zed/extensions/installed/vesper-blur |
symlink |
Bibata-Modern-Ice/ |
/usr/share/icons/Bibata-Modern-Ice |
copy (needs root) |
opencode/cli.json |
~/.config/opencode/cli.json |
symlink |
opencode/opencode.json |
~/.config/opencode/opencode.json |
symlink |
opencode/plugins/current-session-cost/ |
~/opencode-plugins/current-session-cost |
symlink |
Log out and back in after installing so Hyprland, DMS, and Zed reload the config. OpenCode reads its config when it next starts.
If you prefer not to run the installer, run this from the repository root:
mkdir -p ~/.config \
~/.config/environment.d \
~/.local/share/zed/extensions/installed \
~/.config/opencode \
~/opencode-plugins
ln -sfn "$PWD/ghostty" ~/.config/ghostty
ln -sfn "$PWD/hypr" ~/.config/hypr
ln -sfn "$PWD/dms" ~/.config/dms
ln -sfn "$PWD/alacritty" ~/.config/alacritty
ln -sfn "$PWD/fish" ~/.config/fish
ln -sfn "$PWD/autostart" ~/.config/autostart
ln -sfn "$PWD/xsettingsd" ~/.config/xsettingsd
ln -sfn "$PWD/environment.d/90-dms.conf" ~/.config/environment.d/90-dms.conf
ln -sfn "$PWD/mimeapps.list" ~/.config/mimeapps.list
ln -sfn "$PWD/nvim" ~/.config/nvim
ln -sfn "$PWD/zed-stuff/zed" ~/.config/zed
ln -sfn "$PWD/zed-stuff/vesper-blur" \
~/.local/share/zed/extensions/installed/vesper-blur
sudo cp -r Bibata-Modern-Ice /usr/share/icons/ # -r is required; needs rootOpenCode links:
ln -sfn "$PWD/opencode/cli.json" ~/.config/opencode/cli.json
ln -sfn "$PWD/opencode/opencode.json" ~/.config/opencode/opencode.json
ln -sfn "$PWD/opencode/plugins/current-session-cost" \
~/opencode-plugins/current-session-cost~/.config/opencode/service.json is intentionally not tracked: it contains the
OpenCode service password. Keep it machine-local. The npm plugins named in
cli.json and opencode.json are fetched by OpenCode itself; only the local
current-session-cost plugin source lives here.
hypr/hyprland.luais the hand-edited base config.hypr/dms/*.luais generated by DMS (colors, input, layout, outputs, window rules); DMS setup also replaceshypr/dms/binds.luawith its stock keybinds. Put personal overrides inhypr/dms/binds-user.lua, which DMS never overwrites.hypr/.dms-backups/is ignored: those are DMS's own copies of replaced configs.- DMS settings live in
dms/settings.jsonand are written by the shell GUI. Because the directory is symlinked, GUI changes land in this repo. DMS uses atomic writes, which is why the directory (not individual files) is linked. dms/plugins.lock.jsonrecords installed plugins;dms/plugins/is a re-downloadable cache and is ignored.dms/plugin_settings.jsonis ignored: it contains the Wallhaven API key. Never stage or commit it.- Reload after editing:
hyprctl reload. Check for errors withhyprctl configerrors.
install.sh points core.hooksPath at the tracked .githooks/ directory.
Its pre-commit hook scans staged files for non-empty API keys, tokens,
secrets, and passwords, and rejects the commit before they enter history.
Empty placeholders such as api_key = "" and variable references such as
"${TOKEN}" are allowed. The hook is shell + awk; no Python is required.
Enable it manually with:
git config core.hooksPath .githooksIf it flags a false positive, bypass it once with git commit --no-verify.
KineticWE, Noctalia, and KDE Plasma were removed on 2026-11-20. install.sh no
longer links or copies any of them. The files are kept only as an archive:
kineticwe/*.kwe,decoration.colors,kglobalaccelrc,kglobalshortcutsrc,kineticweoutputconfig.json,lsfg-vk/conf.toml, andautostart-kwe-command-1.desktopare snapshots from the old session.kdeglobalsis now a regular file, not the old absolute symlink; it remains gitignored because it is machine-specific.noctalia-full-config.tomlis the old export.noctalia-full-config.live.tomlis a sanitized copy of the final live Noctalia settings with both API keys redacted. Do not treat either as a deployable config.- The output snapshots are stale. Query the running compositor with
hyprctl monitorsinstead of trustingkineticweoutputconfig.json.
- Zed settings and keymaps are JSONC, so comments and trailing commas are valid; strict JSON tools will reject them.
- Waterfox (
waterfox-binfrom the CachyOS repo) is the default browser.install.shdoes not install or update browsers. Firefox Nightly was removed from the repo and the machine; its profiles stay in~/.config/mozilla/firefox/as a fallback. - DMS's Matugen hooks generate theme files such as
ghostty/themes/dankcolors,alacritty/dank-theme.toml, andzed-stuff/zed/themes/dank-zed-theme.json. They are tracked for reference but can be rewritten by DMS. - Application state (caches, logs, service passwords) is intentionally not tracked; only the config groups listed above are.