]> Dogcows Code - chaz/openbox/commitdiff
Respect $XDG_CONFIG_HOME in openbox-session
authorPiotr Lewandowski <piotr.lewandowski@gmail.com>
Sun, 20 Sep 2009 13:40:38 +0000 (15:40 +0200)
committerMikael Magnusson <mikachu@gmail.com>
Sun, 20 Sep 2009 13:40:38 +0000 (15:40 +0200)
data/xsession/openbox-session.in

index cc2169f4b6956a00538c8fc779e9fc2e83249296..259dc580cd594331b4dce946995fa3aaba3c0bcd 100644 (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
This page took 0.025568 seconds and 4 git commands to generate.