Skip to content

Move data dir to comply with the XDG specification#2

Merged
kakengloh merged 2 commits intokakengloh:mainfrom
dyuri:xdg
Aug 30, 2022
Merged

Move data dir to comply with the XDG specification#2
kakengloh merged 2 commits intokakengloh:mainfrom
dyuri:xdg

Conversation

@dyuri
Copy link
Copy Markdown
Contributor

@dyuri dyuri commented Aug 29, 2022

I moved the data dir from ~/.tsk to comply with the XDG specification (under $XDG_DATA_HOME, falling back to $HOME/.local/share if not set).

See: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

(I prefer not to have a lot of dot folders just under my home.)

@kakengloh
Copy link
Copy Markdown
Owner

Hi @dyuri, I'm totally agree with it. Might need to update RemoveBolt function on this line as well to delete the file in the correct directory.

@kakengloh kakengloh added the enhancement New feature or request label Aug 30, 2022
@dyuri
Copy link
Copy Markdown
Contributor Author

dyuri commented Aug 30, 2022

Yeah, sorry, that was the plan...

@kakengloh kakengloh merged commit 1ccd9f0 into kakengloh:main Aug 30, 2022
@dyuri dyuri deleted the xdg branch August 30, 2022 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants