X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=data%2Fxsession%2Fopenbox-session.in;h=c466f17de26f908b975dab24a968d6ea88ca5f57;hb=6af0c046531418f2c10ec23cbe679569730e78a9;hp=e76d3203f8f74da81272ac61f2cebb6aa98ae201;hpb=12c9b56dad52af840f9694719e63e69c47930917;p=chaz%2Fopenbox 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 "$@"