From: Piotr Lewandowski Date: Sun, 20 Sep 2009 13:40:38 +0000 (+0200) Subject: Respect $XDG_CONFIG_HOME in openbox-session X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fopenbox;a=commitdiff_plain;h=abf3660f84ad9d8bab48c4b5ee29a42386c262b9 Respect $XDG_CONFIG_HOME in openbox-session --- diff --git a/data/xsession/openbox-session.in b/data/xsession/openbox-session.in index cc2169f4..259dc580 100644 --- a/data/xsession/openbox-session.in +++ b/data/xsession/openbox-session.in @@ -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