hackjutsu / Lepton

💻 Democratizing Snippet Management (macOS/Win/Linux)
https://hackjutsu.com/Lepton
MIT License
10.15k stars 474 forks source link

Adds support for XDG spec #540

Closed ProfessorManhattan closed 1 year ago

ProfessorManhattan commented 1 year ago

Adds support for XDG spec. See: https://wiki.archlinux.org/title/XDG_Base_Directory.

Basically, if XDG_CONFIG_HOME is defined as an environment variable, then the .leptonrc will be stored at ${XDG_CONFIG_HOME}/.leptonrc instead.

This helps keep user home directories clean.

Closes #504

hackjutsu commented 1 year ago

Thanks for the contribution! @ProfessorManhattan

hackjutsu commented 1 year ago

@all-contributors please add @ProfessorManhattan for platform

allcontributors[bot] commented 1 year ago

@hackjutsu

I've put up a pull request to add @ProfessorManhattan! :tada: