x11 stuff...
[archlinuxppc.git] / libx11 / xorg.sh
1 export XDG_DATA_HOME=$HOME/.local/share
2 export XDG_CONFIG_HOME=$HOME/.config
3 export XDG_CACHE_HOME=$HOME/.cache
4
5 if [ -z $XDG_DATA_DIRS ]; then
6         export XDG_DATA_DIRS=/usr/share/:/usr/local/share/
7 else
8         export XDG_DATA_DIRS=/usr/share/:/usr/local/share/:$XDG_DATA_DIRS
9 fi
10
11 if [ -z $XDG_CONFIG_DIRS ]; then
12         export XDG_CONFIG_DIRS=/etc/xdg
13 else
14         export XDG_CONFIG_DIRS=/etc/xdg:$XDG_CONFIG_DIRS
15 fi