]> Dogcows Code - chaz/openbox/blob - data/xsession/openbox-session.in
Respect $XDG_CONFIG_HOME in openbox-session
[chaz/openbox] / data / xsession / openbox-session.in
1 #!/bin/sh
2
3 if test -n "$1"; then
4 echo "Syntax: openbox-session"
5 echo
6 echo "See the openbox-session(1) manpage for help."
7 exit
8 fi
9
10 AUTOSTART="${XDG_CONFIG_HOME:-"$HOME/.config"}/openbox/autostart.sh"
11 GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"
12
13 if test -e $AUTOSTART; then
14 . $AUTOSTART
15 else
16 if test -e $GLOBALAUTOSTART; then
17 . $GLOBALAUTOSTART
18 fi
19 fi
20
21 exec @bindir@/openbox "$@"
This page took 0.034382 seconds and 4 git commands to generate.