add openbox-session for gdm, which will run ~/.config/openbox/autostart
[mikachu/openbox.git] / data / xsession / openbox-session.in
1 #!/bin/sh
2
3 AUTOSTART="$HOME/.config/openbox/autostart"
4
5 if test -e $AUTOSTART; then
6     # sleep for 1 second so Openbox is there before anything else
7     (sleep 1 && . $AUTOSTART) &
8 fi
9
10 exec @bindir@/openbox "$@"