GAM-team / GAM-team/GAM

Respect freedesktop's XDG_CONFIG_HOME and XDG_DATA_HOME

Open
#791 5 comments 4 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
4.3k
Forks
537
Avg merge
2h 34m
Merged PRs (30d)
9

Description

Thanks for this tool!

Linux configuration and data storage should reside in XDG_CONFIG_HOME (`~/.config/` if the env variable is not set) and XDG_DATA_HOME (`~/.local/share/` if the env variable is not set). This will provide consistency with other programs. $XDG_CONFIG_HOME/gam/ should house actual configuration files (for instance, gam.cfg, which would have items like `check_updates = false` or `member_max_results = 200`). $XDG_DATA_HOME/gam/ should house the oauth tokens, etc. and should be mode 0700.

Keeping this structure will also allow proper sandboxing when the user wants it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.