dotfiles
README.md

Dotfiles #

Swarnim-themed configurations for tmux, kitty, waybar, swaync, nvim, hypr, sway, and more — managed by Rinnegan.

This repository is the canonical source for $HOME configs. Everything managed here is linked into ~/.config/<app>, .zshrc, and ~/.local/bin as relative symlinks.

How it works #

rinnegan.toml declares the relationships:

[link.zshrc]
from = "home/.zshrc"
to = "~/.zshrc"

[tree.kitty]
from = "config/kitty"
to = "~/.config/kitty"
ignore = ["*.bak"]

rg (the rinnegan binary) converts these into symlinks:

rg check     # validate config + sources
rg foresee   # review what would change
rg awaken    # apply (tidies to state/backups)
rg status    # verify everything is linked

Links are relative (~/codespace/Dotfiles/<path>), so the repo can move or be renamed freely.

Setup #

zig build                       # build the rg binary once
rg foresee                      # always review before applying
rg awaken                       # apply / re-apply

Apply with --force only when you intend to replace an unmanaged local file; the original is backed up to ~/.local/state/rinnegan/backups/.

Palette #

Token Hex Usage
bg #141315 Background
surface #1c1a1e Panel BG
alt #2f2d4d Borders
fg #e5e1e5 Primary text
sec #c9c5ce Secondary text
sub #928f98 Subtle text
accent #b4befe Lavender accent

Reload without restart #

  • tmux: Prefix + r (sources ~/.config/tmux/tmux.conf)
  • kitty: restart kitty
  • waybar: pkill waybar && waybar &
  • swaync: swaync-client --reload-config

Structure #

Dotfiles/
├── rinnegan.toml       link + tree declarations (source of truth)
├── bin/                executables on PATH (~/.local/bin)
├── home/               home-directory dotfiles (.zshrc, starship.toml)
├── config/
│   ├── fastfetch/      config.jsonc
│   ├── fuzzel/         fuzzel.ini (launcher)
│   ├── ghostty/        terminal config + themes
│   ├── hypr/           hyprland, hyprlock, toolkits
│   ├── kitty/          kitty.conf + swarnim themes
│   ├── nix/            nix.conf
│   ├── nushell/        config.nu, env.nu, aliases
│   ├── nvim/           init.lua + plugins (colors, lua, queries, ...)
│   ├── oxwm/           window manager (config.lua, keybinds.lua)
│   ├── picom/          picom.conf
│   ├── quickshell/     shell QML + components
│   ├── rofi/           rasi themes + scripts
│   ├── sway/           config + scripts + theme
│   ├── swaync/         config.json + style.css (notifications)
│   ├── tmux/           tmux.conf (no plugins, self-contained)
│   ├── waybar/         config.jsonc + style.css + mocha.css
│   ├── wezterm/        wezterm.lua + color themes
│   └── yazi/           file manager (yazi.toml, themes)
└── assets, wallpapers, scripts, setup.sh   (unmanaged helpers)