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

Respect XDG Base Dir Spec for config file #173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alichtman
Copy link

@alichtman alichtman commented Mar 24, 2020

Progress on #171. Note that this is not truly respecting the XDG Base Dir Spec, as the storage dirs now live in ~/.config. Works well enough for my purposes, though.

Note that this is not truly respecting the XDG Base Dir Spec
@kakawait
Copy link

kakawait commented May 1, 2020

I'm not maintainer at all, I just show that project and I'd like to use it.
But as you suggest, I'd like to have support of XDG base dir standard to avoid dotfiles of the hell at $HOME.

But I think you may support both, in order to do no create a big breaking changes.

Config should be able to check $HOME/.taskbook.json and fallback to file inside $XDG_CONFIG_HOME or $HOME/.config/

Furthermore, I think for storage.js we may continue using XDG base dir standard and put it at $XDG_DATA_DIR or $HOME/.local/share/. But same a previous we must find a way to do not break existing user.

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

Successfully merging this pull request may close these issues.

2 participants