chickadee » xdg-basedir » xdg-config-dirs

xdg-config-dirs #!key (set-environment? #t)procedure

Return the value of the XDG_CONFIG_DIRS environment variable if it is set and is not empty. Otherwise return "/etc/xdg/".

By default, this procedure sets the XDG_CONFIG_DIRS environment variable with its return value in case the environment variable is not set. This behavior can be disabled by binding the set-environment? keyword parameter to #f).