openbox/data/xsession/openbox-session.in
Dana Jansens b74cff0302 changes to the manual pages.
adding openbox-session.

add paths to the xsession .desktop files
2007-05-15 02:02:40 +00:00

16 lines
429 B
Bash

#!/bin/sh
AUTOSTART="$HOME/.config/openbox/autostart.sh"
GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"
if test -e $AUTOSTART; then
# sleep for 1 second so Openbox is there before anything else
(sleep 1 && . $AUTOSTART) &
else
if test -e $GLOBALAUTOSTART; then
# sleep for 1 second so Openbox is there before anything else
(sleep 1 && . $GLOBALAUTOSTART) &
fi
fi
exec @bindir@/openbox "$@"