-
Notifications
You must be signed in to change notification settings - Fork 22
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
[FEATURE REQUEST] Consider XDG config directory #40
Comments
Sounds reasonable, I will have a look at it after I'm done with exams |
I just tested it and I was getting an error code 4. I assume it couldn't find my config file.
My config file is located in I did a bit of testing and it works if I move the config file to
|
It opens XDG_CONFIG_HOME/mpdas or ~/.config/mpdas if XDG_CONFIG_HOME is not set. It seems a bit redundant to create a directory for a single file. Does that contradict with the standard? Changing the filename from mpdas to mpdasrc I can agree with, though. |
I'm not really sure about the specification. https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
But you're right, it might be overkill for just one file. The other programs, that use subdirectories, have multiple files and it makes sense for them. Changing the name to mpdasrc is enough. Thanks for implementing this. |
No worries, thanks for your feedback! :) |
Hi,
would it be possible for mpdas to use XDG_CONFIG_HOME or fall back to its default if it's not set (/home/user/.config/) ?
It might be just my personal preference, but I like having all the config files in one directory compared to the current way where it's directly in the home directory. A lot of programs consider the XDG_CONFIG_HOME environment variable or just default straight to the ".config" directory in the home directory.
The text was updated successfully, but these errors were encountered: