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

[FR]: Respect XDG_CONFIG_HOME #17

Closed
LeifAndersen opened this issue Apr 16, 2024 · 2 comments
Closed

[FR]: Respect XDG_CONFIG_HOME #17

LeifAndersen opened this issue Apr 16, 2024 · 2 comments

Comments

@LeifAndersen
Copy link

Right now the xreal config files seem to go directly into the user's home directory. While its not the end of the world, a nicer solution would be to have it follow the $XDG_CONFIG_HOME location), this way, the user can:

  1. Have their config files in the place they expect config files to go, and
  2. Not add an extra dot file to their home (unless that's what they wanted).

According to the spec https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html :

$XDG_CONFIG_HOME defines the base directory relative to which user-specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.

@wheaney
Copy link
Owner

wheaney commented Apr 16, 2024

I'm going to close this in favor of #4

@wheaney wheaney closed this as completed Apr 16, 2024
@LeifAndersen
Copy link
Author

Woops, didn't see that one, thanks. :D

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

2 participants