diff options
Diffstat (limited to 'data/xsession/openbox-session.in')
| -rw-r--r-- | data/xsession/openbox-session.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/data/xsession/openbox-session.in b/data/xsession/openbox-session.in index e76d3203..c466f17d 100644 --- a/data/xsession/openbox-session.in +++ b/data/xsession/openbox-session.in @@ -1,10 +1,16 @@ #!/bin/sh -AUTOSTART="$HOME/.config/openbox/autostart" +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 "$@" |
