summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/xsession/openbox-session.in2
1 files changed, 1 insertions, 1 deletions
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