Skip to content

use mandated XDG dir defaults#4

Open
mildsunrise wants to merge 1 commit into
kiddae:mainfrom
mildsunrise:patch-1
Open

use mandated XDG dir defaults#4
mildsunrise wants to merge 1 commit into
kiddae:mainfrom
mildsunrise:patch-1

Conversation

@mildsunrise

Copy link
Copy Markdown

the XDG Base Directory specification clearly states that if XDG_CONFIG_HOME is unset or empty, applications should default to $HOME/.config. It says a similar thing for XDG_CACHE_HOME. Instead this application crashes if either variable is unset. This patch makes the application compliant.

the [XDG Base Directory specification][1] clearly states that if `XDG_CONFIG_HOME` is unset or empty, applications should default to `$HOME/.config`. It says a similar thing for `XDG_CACHE_HOME`.

This patch makes this application compliant with the spec.

[1]: https://specifications.freedesktop.org/basedir/latest/#variables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant