Skip to content

Respect XDG Base Dir Spec for config file#173

Open
alichtman wants to merge 1 commit intoklaudiosinani:masterfrom
alichtman:XDG-Spec
Open

Respect XDG Base Dir Spec for config file#173
alichtman wants to merge 1 commit intoklaudiosinani:masterfrom
alichtman:XDG-Spec

Conversation

@alichtman
Copy link
Copy Markdown

@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
Copy Markdown

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