sentriz/cliphist

Bad default directory: `$XDG_CONFIG_HOME/cliphist/config`

rbroggi opened this issue · 0 comments

The default directories:

  1. $XDG_CONFIG_HOME/cliphist/config
  2. $XDG_CACHE_HOME/cliphist/db

Default to non-user folders /cliphist/config and /cliphist/db if XDG_CONFIG_HOME and XDG_CACHE_HOME are not defined.

Arch adheres to XDG Base Directory Specifications, which does not define explicitly those variables unless one wants to override them from the defaults:

  1. XDG_CONFIG_HOME - $HOME/.config
  2. XDG_CACHE_HOME - $HOME/.cache

Could we make the executable to default to the above in case the XDG variables are not defined?