Respect $XDG_CONFIG_HOME in openbox-session

This commit is contained in:
Piotr Lewandowski 2009-09-20 15:40:38 +02:00 committed by Mikael Magnusson
parent 48b6fd9ac4
commit abf3660f84

View file

@ -7,7 +7,7 @@ if test -n "$1"; then
exit
fi
AUTOSTART="$HOME/.config/openbox/autostart.sh"
AUTOSTART="${XDG_CONFIG_HOME:-"$HOME/.config"}/openbox/autostart.sh"
GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"
if test -e $AUTOSTART; then