Skip to content
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] XDG Base Directory compliance #365

Open
ssnailed opened this issue Jan 3, 2024 · 1 comment
Open

[Feature Request] XDG Base Directory compliance #365

ssnailed opened this issue Jan 3, 2024 · 1 comment

Comments

@ssnailed
Copy link

ssnailed commented Jan 3, 2024

I'm a bit of a clean freak and like my home directory to be organized. Luckily for me, many applications will read the XDG_CONFIG_HOME variable and put their config files in that location. The one thing keeping me from switching from ferdium is this very minor detail.

I took a quick look over the code that determines the ~/.electromim/settings.json path, and it doesn't seem like it would be too difficult to implement a check for the XDG_CONFIG_HOME variable. Optimally, settings.json would be written to $XDG_CONFIG_HOME/electronim/settings.json.

If there is any interest for this feature I'd be happy to make a pull request.

@manusa
Copy link
Owner

manusa commented Jan 7, 2024

If you want to make an attempt at contributing the fix, that'd be awesome ❤️.
Keep in mind that the changes should be backwards compatible (feature-wise), and configurations stored in the legacy dir should still be taken into account.

Otherwise I can fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants