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

Follow XDG Base Directory Specifications #25

Open
VinceUB opened this issue Jan 6, 2023 · 0 comments
Open

Follow XDG Base Directory Specifications #25

VinceUB opened this issue Jan 6, 2023 · 0 comments

Comments

@VinceUB
Copy link

VinceUB commented Jan 6, 2023

Currently, Bastet automatically generates the .bastetrc and .bastetscores files in $HOME. This pollutes the home directory, and doesn't follow the XDG Base Directory Specs.

The specs state that program configuration should be localised to a subdirectory of $XDG_CONFIG_HOME, which defaults to $HOME/.config. In Bastet's case, I think it would make sense to move $HOME/.bastetrc to $XDG_CONFIG_HOME/bastet/bastetrc.

Similarly, user-specific data should be stored in a subdirectory of $XDG_DATA_HOME, which defaults to $HOME/.local/share. In Bastet's case, I think it would make sense to move $HOME/.bastetscores to $XDG_CONFIG_HOME/bastet/scores or something similar.

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