exoframe icon indicating copy to clipboard operation
exoframe copied to clipboard

Move config file

Open ForsakenHarmony opened this issue 4 years ago • 5 comments
trafficstars

Hey there, would be nice if the config file could be moved to not clutter the home directory

i.e. use the Linux standard of .config/exoframe

ForsakenHarmony avatar Apr 23 '21 11:04 ForsakenHarmony

This is quite a bit of work, but I'd be more than happy to accept a PR that implements reading config folder location from EXO_CONFIG_PATH env var (needs to be done in both server and client for consistency) 🤔

yamalight avatar Apr 26 '21 09:04 yamalight

Would you also be happy with changing the default and automatically migrating things?

It's not really manageable for me to add an environment variable for every single program to use the default location provided by Linux/XDG

Maybe $XDG_CONFIG_HOME could be used https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html though it does default to $HOME/.config if it's not defined

ForsakenHarmony avatar Apr 26 '21 13:04 ForsakenHarmony

Changing defaults with auto-migration would also work!

yamalight avatar Apr 26 '21 14:04 yamalight

I probably won't get around to this, given that I don't use exoframe right now, sorry

If you're interested in doing this yourself, feel free to, otherwise you're also free to close this to reduce the issue burden

ForsakenHarmony avatar Jun 26 '21 01:06 ForsakenHarmony

@ForsakenHarmony no worries! already planned it for v7.0 (as a one of breaking changes).

yamalight avatar Jun 26 '21 08:06 yamalight

This is done.

yamalight avatar Jul 31 '23 10:07 yamalight