diff --git a/settings/theming.nix b/settings/theming.nix index cd667de..7cc2e4e 100644 --- a/settings/theming.nix +++ b/settings/theming.nix @@ -405,7 +405,20 @@ let # way for a stale copy to survive a switch. install -Dm644 "$theme/gtk3.css" "$HOME/.config/gtk-3.0/gtk.css" install -Dm644 "$theme/gtk4.css" "$HOME/.config/gtk-4.0/gtk.css" + # Vesktop gets the same CSS twice, on purpose. + # + # quickCss is what applies with no setup, but vencord watches it with + # fs.watch on the FILE, and in practice that watcher delivers exactly one + # event per vesktop run here — every switch after the first is ignored + # until vesktop restarts. (The writes themselves are fine: a standalone + # fs.watch sees every one of these installs.) + # + # The themes directory is vencord's other watcher and it watches the + # DIRECTORY, whose inode nothing ever replaces, so it keeps firing. Enable + # "fredos" once under Vencord → Themes and switches apply live. Identical + # declarations from both sources land on the same result. install -Dm644 "$theme/vesktop.css" "$HOME/.config/vesktop/settings/quickCss.css" + install -Dm644 "$theme/vesktop.css" "$HOME/.config/vesktop/themes/fredos.css" install -Dm644 "$theme/zen.css" "$HOME/${zenChrome}/userChrome.css" # Icon theme: replace the directory contents (cheap — the tree is