We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
放在$HOME,会使得家目录变得混乱,难以管理。建议放到XDG_Base_Directory。 相关:#236
~/.FeelUOwn $XDG_DATA_HOME/FeelUOwn $HOME/.local/share/FeelUOwn ...
例如:$FEELUOWN_DATA_DIR,(默认~/.FeelUOwn)
...
The text was updated successfully, but these errors were encountered:
补充描述,现在的 .FeelUOwn 的目录结构如下:
$ tree ~/.FeelUOwn -L 1 .FeelUOwn/ ├── cache ├── collections ├── data ├── plugins ├── songs ├── stdout.log └── themes
也就是说缓存,歌曲和个人设置是放在一起的,希望后续使用 XDG_Base_Directory 的时候做适当的拆分。 将缓存放在 $XDG_CACHE_HOME,设置放到 $XDG_CONFIG_HOME,下载的歌曲放到 $XDG_DATA_HOME。
Sorry, something went wrong.
No branches or pull requests
简介与背景
放在$HOME,会使得家目录变得混乱,难以管理。建议放到XDG_Base_Directory。
相关:#236
方案概述
使用fallback的方式,依次检测以下目录是否存在:
使用环境变量的方式
例如:$FEELUOWN_DATA_DIR,(默认~/.FeelUOwn)
或者更好的方式
...
The text was updated successfully, but these errors were encountered: