adamsanderson/qwandry

XDG for config directory

Closed this issue · 4 comments

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!

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?

I think this should cover it.
c5b9c91

Ok, we use ~/.qwandry if it exists now, but otherwise follow XDG.
9485b5e

Enjoy your cleaner home directory ;)

Three Cheers for Adam Sanderson!!!