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:
parent
6a3e5c147b
commit
c17c9873b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue