Open razor-x opened 6 years ago
$XDG_CONFIG_HOME
$XDG_CONFIG_HOME/gr/config.json
GR_CONFIG_HOME
GR_CONFIG_HOME=$HOME
See https://wiki.archlinux.org/index.php/XDG_Base_Directory_support
For other projects struggling with this, see https://www.google.com/search?q=support+xdg+github&oq=support+xdg+github
$XDG_CONFIG_HOME
is set, config file should be saved to$XDG_CONFIG_HOME/gr/config.json
.GR_CONFIG_HOME
and if set, use that (GR_CONFIG_HOME=$HOME
would replicate current behaviour).See https://wiki.archlinux.org/index.php/XDG_Base_Directory_support
For other projects struggling with this, see https://www.google.com/search?q=support+xdg+github&oq=support+xdg+github