New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default configuration paths #477
Comments
The code could be further modified to check for the environment variables (ie: $XDG_DATA_HOME , $XDG_CONFIG_HOME, $XDG_DATA_DIRS, $XDG_CONFIG_DIRS, $XDG_CACHE_HOME, and $XDG_RUNTIME_DIR) and use their values if provided, but this is a good first step in the right direction. |
Implemented in |
Reopening this as I am re-working config files and directories and realized that these changes should probably be in it's own extension rather than baking into the core framework. |
Under the "Configuration Handling" section of the documentation, it stipulates that the default paths which are checked for a configuration file are:
The plugins and templates (as with the configurations) directories have a user specific path that uses the home directory directly. This habit is in conflict with XDG Base Directory Specification; notably:
As such additional paths to check for configurations should be:
Also for plugins:
Lastly for templates:
This can be accomplished with minor code modifications.
The text was updated successfully, but these errors were encountered: