Module paths

Module paths 

Source
Expand description

Defines useful functions for working with common paths.

Functions§

home
Returns the user’s home directory.
xdg_config_home
Returns the value of $XDG_CONFIG_HOME or the default value.
xdg_data_dirs
Returns the value of $XDG_DATA_DIRS or the default value.
xdg_data_globs
Returns xdg_data_home plus xdg_data_dirs, postfixed with path.
xdg_data_home
Returns the value of $XDG_DATA_HOME or the default value.
xdg_state_home
Returns the value of $XDG_STATE_HOME or the default value.