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

The scripts do not comply to the XDG Base Directory standard #12

Open
amtoine opened this issue Jun 28, 2022 · 0 comments
Open

The scripts do not comply to the XDG Base Directory standard #12

amtoine opened this issue Jun 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@amtoine
Copy link
Owner

amtoine commented Jun 28, 2022

I would like to make all my scripts XDG-Base-Directory-compliant, in order not to clutter our $HOMEs anymore 😋

IDEA OF IMPLEMENTATION:
for instance, replace hardcoded $HOME/.local/share by data_home where data_home is defined at runtime by

data_home=${XDG_DATA_HOME-$HOME/.local/share}

That is, by default, the data_home will be located at $HOME/.local/share. But the user can change the location of the files by exporting the XDG_DATA_HOME environment variable to another location!

@amtoine amtoine added the enhancement New feature or request label Jun 28, 2022
@amtoine amtoine self-assigned this Jun 28, 2022
@amtoine amtoine removed their assignment Nov 4, 2023
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

No branches or pull requests

1 participant