]> icculus.org git repositories - mikachu/openbox.git/blob - data/xsession/openbox-session.in
changes to the manual pages.
[mikachu/openbox.git] / data / xsession / openbox-session.in
1 #!/bin/sh
2
3 AUTOSTART="$HOME/.config/openbox/autostart.sh"
4 GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"
5
6 if test -e $AUTOSTART; then
7     # sleep for 1 second so Openbox is there before anything else
8     (sleep 1 && . $AUTOSTART) &
9 else
10     if test -e $GLOBALAUTOSTART; then
11         # sleep for 1 second so Openbox is there before anything else
12         (sleep 1 && . $GLOBALAUTOSTART) &
13     fi
14 fi
15
16 exec @bindir@/openbox "$@"