Closed
Description
Describe the bug
Hyfetch now displays an animation at the first start, and tries to add a flag to the config saying that it is shown.
Line 389 in 60b4b92
It may appear to be reasonable, but what if you are using home-manager? The config is just a symlink pointing to the read-only Nix store. If you tries to write to it, you'll fail, and if you choose to override it, home-manager will fail to deploy the next time.
- Does this issue still occur in the master branch? (Required)
Expected behavior
So just don't touch the config. If the config already exists, leave it there. And if we want to persist any state, just place it in xdg cache.
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels
Activity
[+] Add cache path variable
hykilpikonna commentedon Jun 15, 2023
Thanks for reporting the issue! It will create a file
$XDG_CACHE_HOME/hyfetch/animation-displayed-{year}
instead of writing the config from now on[O] Write to cache dir instead of config