I wonder how to access not only the variables defined in ~/.config/user-dirs.dirs with xdg-user-dir, e.g. $(xdg-user-dir VIDEOS), but also the following standard variables:XDG_CACHE_HOME:-$HOME/.cacheXDG_CONFIG_HOME:-$HOME/.configXDG_DATA_HOME:-$HOME/.local/shareXDG_RUNTIME_DIR:-/run/user/$USERXDG_CONFIG_DIRS:-/etc/xdgXDG_DATA_DIRS:-/usr/local/share:/usr/shareFor that purpose I do the following in my ~/.bash_login file:# Define standard directories.declare -gx XDG_CACHE_HOME=~/.cachedeclare -gx XDG_CONFIG_HOME=~/.configdeclare -gx XDG_DATA_HOME=~/.local/sharedeclare -gx XDG_RUNTIME_DIR=/run/user/$USERdeclare -gx XDG_CONFIG_DIRS=$(IFS=: path /etc/xdg)declare -gx XDG_DATA_DIRS=$(IFS=: path /usr/local/share:/usr/share)# Source supplementary directories to export or overwrite existing standard ones.declare a=$XDG_CONFIG_HOME/user-dirs.dirsif [[ -e $a ]]; then  source $a  declare b=  for b in ${!XDG_*}; do    if [[ $b =~ ^XDG_[_[:alnum:]]+_DIR$ ]]; then      declare -gx $b    fi  donefiIs there a mechanism to access the above directory and path variables other than the user directory variables defined by the XDG directory structure specification?
How to utilize XDG directories and paths in Bash?
bash;directory structure;freedesktop