From abf3660f84ad9d8bab48c4b5ee29a42386c262b9 Mon Sep 17 00:00:00 2001 From: Piotr Lewandowski Date: Sun, 20 Sep 2009 15:40:38 +0200 Subject: [PATCH] Respect $XDG_CONFIG_HOME in openbox-session --- data/xsession/openbox-session.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.0