Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XDG_CACHE_HOME support #1283

Open
avidseeker opened this issue Aug 6, 2023 · 0 comments
Open

XDG_CACHE_HOME support #1283

avidseeker opened this issue Aug 6, 2023 · 0 comments

Comments

@avidseeker
Copy link

cmus nicely supports xdg specs since #69.

However, cache file is still saved in ~/.config/cmus instead of ~/.cache/cmus.

viatatribal added a commit to viatatribal/cmus that referenced this issue Sep 22, 2023
Now, if the user has XDG_CACHE_HOME set, cmus will use
$XDG_CACHE_HOME/cmus/ folder to place cache file. If, however, the
variable is not set, cmus will use $HOME/.cache/cmus/ as the folder to
place cache file.

As mentioned by cmus#1283, xdg specs has been support for a while, yet cmus
was saving cache files on $HOME/.config/cmus folder.
flyingmutant pushed a commit to viatatribal/cmus that referenced this issue Nov 13, 2023
Now, if the user has XDG_CACHE_HOME set, cmus will use
$XDG_CACHE_HOME/cmus/ folder to place cache file. If, however, the
variable is not set, cmus will use $HOME/.cache/cmus/ as the folder to
place cache file.

As mentioned by cmus#1283, xdg specs has been support for a while, yet cmus
was saving cache files on $HOME/.config/cmus folder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant