XDG for config directory
Closed this issue · 4 comments
trans commented
I'd like to encourage you to use XDG directory standard. The upshot of which would basically mean using ~/.conifg/qwandry
instead of ~/.qwandry
. Where .config
comes form ENV['XDG_CONFIG_HOME']
.
See http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
Other than that, looks like an awesome project!
adamsanderson commented
Hmm, sounds reasonable. I have generally seen the pattern of just using ~/.application
, but this makes sense. Would using ENV['XDG_CONFIG_HOME']
if present, and then falling back to the original ~/.qwandry
be reasonable?
adamsanderson commented
I think this should cover it.
c5b9c91
adamsanderson commented
Ok, we use ~/.qwandry
if it exists now, but otherwise follow XDG.
9485b5e
Enjoy your cleaner home directory ;)
trans commented
Three Cheers for Adam Sanderson!!!