Closed lbeltrame closed 3 years ago
Thanks for the input! Fixed in commit 5dac98b.
This is better, but still not ideal. According to the XDG Base Directory Specification, the program should check for the $XDG_CONFIG_HOME environment variable, and only if its unset or empty, default to ~/.config.
I think the README also needs to be updated to reflect this change.
As per the XDG spec, configuration files should land in
~/.config/
or a subdirectory under it. This makes things cleaner instead of a random hidden directory in one's $HOME.Pyxdg offers a ready module (I have no idea how heavy it is on the dependency side) to handle this without worrying about the finer details.