This PR adds some basic support for XDG directory specification:
Read configuration from XDG_CONFIG_HOME/nvpy.cfg (usually ~/.config/nvpy.cfg) if exits. This file has the highest priority and overwrites settings from other configuration files.
On Linux save user settings in XDG_CACHE_HOME/nvpy_settings (usually ~/.cache/nvpy_settings).
This PR adds some basic support for XDG directory specification:
XDG_CONFIG_HOME/nvpy.cfg
(usually~/.config/nvpy.cfg
) if exits. This file has the highest priority and overwrites settings from other configuration files.XDG_CACHE_HOME/nvpy_settings
(usually~/.cache/nvpy_settings
).