pywal icon indicating copy to clipboard operation
pywal copied to clipboard

Don't store current theme in ~/.cache on linux.

Open m00nwtchr opened this issue 3 years ago • 1 comments

The cache should not be used to store user preferences, only temporary generated files.

Possible alternative locations: (In order of preference)

  • ~/.local/state ($XDG_STATE_HOME)
  • ~/.config

m00nwtchr avatar Mar 29 '22 05:03 m00nwtchr

This is application state, it should live in XDG_STATE_HOME not in ~/.cache and most definitely not in ~/.config, especially since it may be read-only.

TheSast avatar Aug 24 '23 13:08 TheSast