summaryrefslogtreecommitdiff
path: root/data/xsession/openbox-session.in
diff options
context:
space:
mode:
Diffstat (limited to 'data/xsession/openbox-session.in')
-rw-r--r--data/xsession/openbox-session.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/data/xsession/openbox-session.in b/data/xsession/openbox-session.in
index c466f17d..b3f1c057 100644
--- a/data/xsession/openbox-session.in
+++ b/data/xsession/openbox-session.in
@@ -4,12 +4,10 @@ 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) &
+ . $AUTOSTART
else
if test -e $GLOBALAUTOSTART; then
- # sleep for 1 second so Openbox is there before anything else
- (sleep 1 && . $GLOBALAUTOSTART) &
+ . $GLOBALAUTOSTART
fi
fi