diff options
| -rw-r--r-- | .config/darkman/config.yaml (renamed from darkman/.config/darkman/config.yaml) | 0 | ||||
| -rw-r--r-- | .config/doom/config.el (renamed from doom/.config/doom/config.el) | 0 | ||||
| -rw-r--r-- | .config/doom/init.el (renamed from doom/.config/doom/init.el) | 0 | ||||
| -rw-r--r-- | .config/doom/packages.el (renamed from doom/.config/doom/packages.el) | 0 | ||||
| -rw-r--r-- | .config/doom/themes/noctalia-theme.el (renamed from doom/.config/doom/themes/noctalia-theme.el) | 0 | ||||
| -rw-r--r-- | .config/foot/foot.ini (renamed from foot/.config/foot/foot.ini) | 0 | ||||
| -rw-r--r-- | .config/gtk-3.0/settings-dark.ini (renamed from gtk/.config/gtk-3.0/settings-dark.ini) | 0 | ||||
| -rw-r--r-- | .config/gtk-3.0/settings-light.ini (renamed from gtk/.config/gtk-3.0/settings-light.ini) | 0 | ||||
| l--------- | .config/gtk-3.0/settings.ini | 1 | ||||
| -rw-r--r-- | .config/matugen/config.toml (renamed from matugen/.config/matugen/config.toml) | 0 | ||||
| -rw-r--r-- | .config/matugen/templates/niri.kdl (renamed from matugen/.config/matugen/templates/niri.kdl) | 0 | ||||
| -rw-r--r-- | .config/mpv/mpv.conf (renamed from mpv/.config/mpv/mpv.conf) | 0 | ||||
| -rwxr-xr-x | .config/niri/apply-colors.sh (renamed from niri/.config/niri/apply-colors.sh) | 0 | ||||
| -rw-r--r-- | .config/niri/config.kdl (renamed from niri/.config/niri/config.kdl) | 2 | ||||
| -rwxr-xr-x | .config/niri/set-backdrop.sh (renamed from niri/.config/niri/set-backdrop.sh) | 0 | ||||
| -rwxr-xr-x | .config/niri/theme-switcher.sh (renamed from niri/.config/niri/theme-switcher.sh) | 0 | ||||
| -rw-r--r-- | .config/nvim/init.lua (renamed from nvim/.config/nvim/init.lua) | 0 | ||||
| -rw-r--r-- | .config/nvim/lua/caelus/init.lua (renamed from nvim/.config/nvim/lua/caelus/init.lua) | 0 | ||||
| -rwxr-xr-x | .config/nvim/lua/config/keymaps.lua (renamed from nvim/.config/nvim/lua/config/keymaps.lua) | 0 | ||||
| -rwxr-xr-x | .config/nvim/lua/config/options.lua (renamed from nvim/.config/nvim/lua/config/options.lua) | 0 | ||||
| -rw-r--r-- | .config/nvim/lua/config/plugins.lua (renamed from nvim/.config/nvim/lua/config/plugins.lua) | 0 | ||||
| -rw-r--r-- | .config/nvim/nvim-pack-lock.json (renamed from nvim/.config/nvim/nvim-pack-lock.json) | 0 | ||||
| -rw-r--r-- | .config/rmpc/config.ron (renamed from rmpc/.config/rmpc/config.ron) | 0 | ||||
| -rw-r--r-- | .config/rmpc/theme.ron (renamed from rmpc/.config/rmpc/theme.ron) | 0 | ||||
| -rw-r--r-- | .config/starship.toml (renamed from starship/.config/starship.toml) | 0 | ||||
| -rw-r--r-- | .config/vicinae/settings.json (renamed from vicinae/.config/vicinae/settings.json) | 0 | ||||
| -rw-r--r-- | .config/wallust/templates/dbg.ini (renamed from wallust/.config/wallust/templates/dbg.ini) | 0 | ||||
| -rw-r--r-- | .config/wallust/templates/foot-colors-custom.ini (renamed from wallust/.config/wallust/templates/foot-colors-custom.ini) | 0 | ||||
| -rw-r--r-- | .config/wallust/templates/nvim.lua (renamed from wallust/.config/wallust/templates/nvim.lua) | 0 | ||||
| -rw-r--r-- | .config/wallust/templates/shell-colors.sh (renamed from wallust/.config/wallust/templates/shell-colors.sh) | 0 | ||||
| -rw-r--r-- | .config/wallust/templates/vicinae-dark.toml (renamed from wallust/.config/wallust/templates/vicinae-dark.toml) | 0 | ||||
| -rw-r--r-- | .config/wallust/templates/vicinae-light.toml (renamed from wallust/.config/wallust/templates/vicinae-light.toml) | 0 | ||||
| -rw-r--r-- | .config/wallust/wallust.toml (renamed from wallust/.config/wallust/wallust.toml) | 0 | ||||
| -rw-r--r-- | .config/waybar/config.jsonc (renamed from waybar/.config/waybar/config.jsonc) | 0 | ||||
| -rwxr-xr-x | .config/waybar/kbd-layout.sh (renamed from waybar/.config/waybar/kbd-layout.sh) | 0 | ||||
| -rw-r--r-- | .config/waybar/style.css (renamed from waybar/.config/waybar/style.css) | 0 | ||||
| -rw-r--r-- | .config/waybar/theme-dark.css (renamed from waybar/.config/waybar/theme-dark.css) | 0 | ||||
| -rw-r--r-- | .config/waybar/theme-light.css (renamed from waybar/.config/waybar/theme-light.css) | 0 | ||||
| l--------- | .config/waybar/theme.css | 1 | ||||
| -rw-r--r-- | .config/xdg-desktop-portal/portals.conf (renamed from xdg-desktop-portal/.config/xdg-desktop-portal/portals.conf) | 0 | ||||
| -rw-r--r-- | .config/yazi/keymap.toml (renamed from yazi/.config/yazi/keymap.toml) | 0 | ||||
| -rw-r--r-- | .config/yazi/yazi.toml (renamed from yazi/.config/yazi/yazi.toml) | 0 | ||||
| l--------- | gtk/.config/gtk-3.0/settings.ini | 1 | ||||
| -rwxr-xr-x | install.sh | 23 | ||||
| l--------- | waybar/.config/waybar/theme.css | 1 |
45 files changed, 20 insertions, 9 deletions
diff --git a/darkman/.config/darkman/config.yaml b/.config/darkman/config.yaml index ef00ec3..ef00ec3 100644 --- a/darkman/.config/darkman/config.yaml +++ b/.config/darkman/config.yaml diff --git a/doom/.config/doom/config.el b/.config/doom/config.el index ce1b792..ce1b792 100644 --- a/doom/.config/doom/config.el +++ b/.config/doom/config.el diff --git a/doom/.config/doom/init.el b/.config/doom/init.el index 91a3004..91a3004 100644 --- a/doom/.config/doom/init.el +++ b/.config/doom/init.el diff --git a/doom/.config/doom/packages.el b/.config/doom/packages.el index e50988d..e50988d 100644 --- a/doom/.config/doom/packages.el +++ b/.config/doom/packages.el diff --git a/doom/.config/doom/themes/noctalia-theme.el b/.config/doom/themes/noctalia-theme.el index be14fda..be14fda 100644 --- a/doom/.config/doom/themes/noctalia-theme.el +++ b/.config/doom/themes/noctalia-theme.el diff --git a/foot/.config/foot/foot.ini b/.config/foot/foot.ini index 2a81398..2a81398 100644 --- a/foot/.config/foot/foot.ini +++ b/.config/foot/foot.ini diff --git a/gtk/.config/gtk-3.0/settings-dark.ini b/.config/gtk-3.0/settings-dark.ini index 0f580e6..0f580e6 100644 --- a/gtk/.config/gtk-3.0/settings-dark.ini +++ b/.config/gtk-3.0/settings-dark.ini diff --git a/gtk/.config/gtk-3.0/settings-light.ini b/.config/gtk-3.0/settings-light.ini index d9938f7..d9938f7 100644 --- a/gtk/.config/gtk-3.0/settings-light.ini +++ b/.config/gtk-3.0/settings-light.ini diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini new file mode 120000 index 0000000..ef98ebb --- /dev/null +++ b/.config/gtk-3.0/settings.ini @@ -0,0 +1 @@ +settings-dark.ini
\ No newline at end of file diff --git a/matugen/.config/matugen/config.toml b/.config/matugen/config.toml index 9b72eee..9b72eee 100644 --- a/matugen/.config/matugen/config.toml +++ b/.config/matugen/config.toml diff --git a/matugen/.config/matugen/templates/niri.kdl b/.config/matugen/templates/niri.kdl index afc1f04..afc1f04 100644 --- a/matugen/.config/matugen/templates/niri.kdl +++ b/.config/matugen/templates/niri.kdl diff --git a/mpv/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index 8311c18..8311c18 100644 --- a/mpv/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf diff --git a/niri/.config/niri/apply-colors.sh b/.config/niri/apply-colors.sh index 505578c..505578c 100755 --- a/niri/.config/niri/apply-colors.sh +++ b/.config/niri/apply-colors.sh diff --git a/niri/.config/niri/config.kdl b/.config/niri/config.kdl index 24b0896..9d7db14 100644 --- a/niri/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -10,7 +10,7 @@ spawn-at-startup "awww-daemon" "--namespace" "backdrop" spawn-at-startup "/usr/libexec/hyprpolkitagent" spawn-at-startup "dbus-update-activation-environment" "WAYLAND_DISPLAY" "DISPLAY" "XDG_CURRENT_DESKTOP" spawn-at-startup "darkman" "run" -spawn-at-startup "/home/seraphim/dotfiles-gentoo/niri/.config/niri/theme-switcher.sh" "--daemon" +spawn-at-startup "/home/seraphim/dotfiles-gentoo/niri/.config/niri/theme-switcher.sh" "night" spawn-at-startup "sh" "-c" "NO_AT_BRIDGE=1 waybar" spawn-at-startup "/usr/bin/Throne" spawn-at-startup "mpd" diff --git a/niri/.config/niri/set-backdrop.sh b/.config/niri/set-backdrop.sh index efd02b3..efd02b3 100755 --- a/niri/.config/niri/set-backdrop.sh +++ b/.config/niri/set-backdrop.sh diff --git a/niri/.config/niri/theme-switcher.sh b/.config/niri/theme-switcher.sh index 6d1f548..6d1f548 100755 --- a/niri/.config/niri/theme-switcher.sh +++ b/.config/niri/theme-switcher.sh diff --git a/nvim/.config/nvim/init.lua b/.config/nvim/init.lua index 6bf6f8e..6bf6f8e 100644 --- a/nvim/.config/nvim/init.lua +++ b/.config/nvim/init.lua diff --git a/nvim/.config/nvim/lua/caelus/init.lua b/.config/nvim/lua/caelus/init.lua index dec0a41..dec0a41 100644 --- a/nvim/.config/nvim/lua/caelus/init.lua +++ b/.config/nvim/lua/caelus/init.lua diff --git a/nvim/.config/nvim/lua/config/keymaps.lua b/.config/nvim/lua/config/keymaps.lua index e2987bc..e2987bc 100755 --- a/nvim/.config/nvim/lua/config/keymaps.lua +++ b/.config/nvim/lua/config/keymaps.lua diff --git a/nvim/.config/nvim/lua/config/options.lua b/.config/nvim/lua/config/options.lua index dac7c76..dac7c76 100755 --- a/nvim/.config/nvim/lua/config/options.lua +++ b/.config/nvim/lua/config/options.lua diff --git a/nvim/.config/nvim/lua/config/plugins.lua b/.config/nvim/lua/config/plugins.lua index 464a5ae..464a5ae 100644 --- a/nvim/.config/nvim/lua/config/plugins.lua +++ b/.config/nvim/lua/config/plugins.lua diff --git a/nvim/.config/nvim/nvim-pack-lock.json b/.config/nvim/nvim-pack-lock.json index dc69b9a..dc69b9a 100644 --- a/nvim/.config/nvim/nvim-pack-lock.json +++ b/.config/nvim/nvim-pack-lock.json diff --git a/rmpc/.config/rmpc/config.ron b/.config/rmpc/config.ron index 765d13b..765d13b 100644 --- a/rmpc/.config/rmpc/config.ron +++ b/.config/rmpc/config.ron diff --git a/rmpc/.config/rmpc/theme.ron b/.config/rmpc/theme.ron index f23418a..f23418a 100644 --- a/rmpc/.config/rmpc/theme.ron +++ b/.config/rmpc/theme.ron diff --git a/starship/.config/starship.toml b/.config/starship.toml index ab9064a..ab9064a 100644 --- a/starship/.config/starship.toml +++ b/.config/starship.toml diff --git a/vicinae/.config/vicinae/settings.json b/.config/vicinae/settings.json index b9a5a02..b9a5a02 100644 --- a/vicinae/.config/vicinae/settings.json +++ b/.config/vicinae/settings.json diff --git a/wallust/.config/wallust/templates/dbg.ini b/.config/wallust/templates/dbg.ini index edc18bb..edc18bb 100644 --- a/wallust/.config/wallust/templates/dbg.ini +++ b/.config/wallust/templates/dbg.ini diff --git a/wallust/.config/wallust/templates/foot-colors-custom.ini b/.config/wallust/templates/foot-colors-custom.ini index 5fc7983..5fc7983 100644 --- a/wallust/.config/wallust/templates/foot-colors-custom.ini +++ b/.config/wallust/templates/foot-colors-custom.ini diff --git a/wallust/.config/wallust/templates/nvim.lua b/.config/wallust/templates/nvim.lua index be60dd7..be60dd7 100644 --- a/wallust/.config/wallust/templates/nvim.lua +++ b/.config/wallust/templates/nvim.lua diff --git a/wallust/.config/wallust/templates/shell-colors.sh b/.config/wallust/templates/shell-colors.sh index 3cfb24d..3cfb24d 100644 --- a/wallust/.config/wallust/templates/shell-colors.sh +++ b/.config/wallust/templates/shell-colors.sh diff --git a/wallust/.config/wallust/templates/vicinae-dark.toml b/.config/wallust/templates/vicinae-dark.toml index 5c2c9b3..5c2c9b3 100644 --- a/wallust/.config/wallust/templates/vicinae-dark.toml +++ b/.config/wallust/templates/vicinae-dark.toml diff --git a/wallust/.config/wallust/templates/vicinae-light.toml b/.config/wallust/templates/vicinae-light.toml index 92516f8..92516f8 100644 --- a/wallust/.config/wallust/templates/vicinae-light.toml +++ b/.config/wallust/templates/vicinae-light.toml diff --git a/wallust/.config/wallust/wallust.toml b/.config/wallust/wallust.toml index d1e8925..d1e8925 100644 --- a/wallust/.config/wallust/wallust.toml +++ b/.config/wallust/wallust.toml diff --git a/waybar/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index c20a95c..c20a95c 100644 --- a/waybar/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc diff --git a/waybar/.config/waybar/kbd-layout.sh b/.config/waybar/kbd-layout.sh index e81462a..e81462a 100755 --- a/waybar/.config/waybar/kbd-layout.sh +++ b/.config/waybar/kbd-layout.sh diff --git a/waybar/.config/waybar/style.css b/.config/waybar/style.css index cf8dbee..cf8dbee 100644 --- a/waybar/.config/waybar/style.css +++ b/.config/waybar/style.css diff --git a/waybar/.config/waybar/theme-dark.css b/.config/waybar/theme-dark.css index d88a91d..d88a91d 100644 --- a/waybar/.config/waybar/theme-dark.css +++ b/.config/waybar/theme-dark.css diff --git a/waybar/.config/waybar/theme-light.css b/.config/waybar/theme-light.css index b757ab6..b757ab6 100644 --- a/waybar/.config/waybar/theme-light.css +++ b/.config/waybar/theme-light.css diff --git a/.config/waybar/theme.css b/.config/waybar/theme.css new file mode 120000 index 0000000..aea3c67 --- /dev/null +++ b/.config/waybar/theme.css @@ -0,0 +1 @@ +theme-dark.css
\ No newline at end of file diff --git a/xdg-desktop-portal/.config/xdg-desktop-portal/portals.conf b/.config/xdg-desktop-portal/portals.conf index c651895..c651895 100644 --- a/xdg-desktop-portal/.config/xdg-desktop-portal/portals.conf +++ b/.config/xdg-desktop-portal/portals.conf diff --git a/yazi/.config/yazi/keymap.toml b/.config/yazi/keymap.toml index f275171..f275171 100644 --- a/yazi/.config/yazi/keymap.toml +++ b/.config/yazi/keymap.toml diff --git a/yazi/.config/yazi/yazi.toml b/.config/yazi/yazi.toml index 7f1fde1..7f1fde1 100644 --- a/yazi/.config/yazi/yazi.toml +++ b/.config/yazi/yazi.toml diff --git a/gtk/.config/gtk-3.0/settings.ini b/gtk/.config/gtk-3.0/settings.ini deleted file mode 120000 index 4e1634f..0000000 --- a/gtk/.config/gtk-3.0/settings.ini +++ /dev/null @@ -1 +0,0 @@ -settings-light.ini
\ No newline at end of file @@ -5,11 +5,10 @@ REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" TMP_ERR="$(mktemp)" trap 'rm -f "$TMP_ERR"' EXIT -# Packages whose config lives in a well-formed directory (stowable from repo root) -STOW_PKGS=( - darkman doom fastfetch foot gtk matugen mpv niri nvim rmpc starship - tmux vicinae wallust waybar xdg-desktop-portal yazi zshrc -) +# The .config tree is stowed into $HOME/.config +CONFIG_PKG=".config" +# Remaining home-dotfile packages (stowed into $HOME) +HOME_PKGS=( zshrc ) # Empty portage dirs, recreated because git does not track empty directories PORTAGE_EMPTY_DIRS=( @@ -44,7 +43,19 @@ need_stow() { stow_dotfiles() { cd "$REPO_DIR" local ok=0 fail=0 - for pkg in "${STOW_PKGS[@]}"; do + + # .config package -> ~/.config + if stow -R -v -t "$HOME/.config" "$CONFIG_PKG" >"$TMP_ERR" 2>&1; then + printf ' %s\n' "$(grep '^LINK' "$TMP_ERR" || true)" + ok=$((ok + 1)) + else + warn "stow '$CONFIG_PKG' (-> \$HOME/.config) failed — resolve manually:" + sed 's/^/ /' "$TMP_ERR" || true + fail=$((fail + 1)) + fi + + # remaining home-dotfile packages -> ~ + for pkg in "${HOME_PKGS[@]}"; do if [[ ! -d "$pkg" ]]; then warn "package dir '$pkg' missing — skipped" continue diff --git a/waybar/.config/waybar/theme.css b/waybar/.config/waybar/theme.css deleted file mode 120000 index 1882049..0000000 --- a/waybar/.config/waybar/theme.css +++ /dev/null @@ -1 +0,0 @@ -theme-light.css
\ No newline at end of file |
