Closed ProfessorManhattan closed 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.
XDG_CONFIG_HOME
.leptonrc
${XDG_CONFIG_HOME}/.leptonrc
This helps keep user home directories clean.
Closes #504
Thanks for the contribution! @ProfessorManhattan
@all-contributors please add @ProfessorManhattan for platform
@hackjutsu
I've put up a pull request to add @ProfessorManhattan! :tada:
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