user/catppuccin: fix theme script

it just kept reusing old generations because nix/profiles/home-manager
isn't.. consistently updated? idk how long this has been happening or if
they changed something ughhhhhh
This commit is contained in:
Cilly Leang 2025-09-02 14:39:38 +10:00
parent 6a3e5c147b
commit c17c9873b9
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -53,7 +53,7 @@
echo "invalid theme, valid values: [dark, light, restore]"
exit 1
fi
current="$HOME/.local/state/nix/profiles/home-manager"
current="$HOME/.local/state/home-manager/gcroots/current-home/"
cached="$HOME/.local/state/last-parent-specialisation"
if [ -d "$current/specialisation" ]; then
if [ -d "$cached" ]; then