summaryrefslogtreecommitdiffstats
path: root/abs/core/libx11/xorg.sh
blob: 4fc02e3220f09658679f917f50acaff50fcac777 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export XDG_DATA_HOME=$HOME/.local/share
export XDG_CONFIG_HOME=$HOME/.config
export XDG_CACHE_HOME=$HOME/.cache

if [ -z $XDG_DATA_DIRS ]; then
	export XDG_DATA_DIRS=/usr/local/share/:/usr/share/
else
	export XDG_DATA_DIRS=/usr/local/share/:/usr/share/:$XDG_DATA_DIRS
fi

if [ -z $XDG_CONFIG_DIRS ]; then
	export XDG_CONFIG_DIRS=/etc/xdg
else
	export XDG_CONFIG_DIRS=/etc/xdg:$XDG_CONFIG_DIRS
fi