X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=data%2Fautostart%2Fopenbox-autostart.in;h=5c7277740396c9cf92a6fc6a1a316324f867f043;hb=d0ba8806689ea80b6a739122aaf8dac81d2a3e5c;hp=4c4b91b928f924bd2b41e6cc7e42db84e818eea2;hpb=6624d06dd17490189764ca6c3a6c7eb8c5f55a5b;p=chaz%2Fopenbox diff --git a/data/autostart/openbox-autostart.in b/data/autostart/openbox-autostart.in index 4c4b91b9..5c727774 100755 --- a/data/autostart/openbox-autostart.in +++ b/data/autostart/openbox-autostart.in @@ -2,11 +2,11 @@ # Set a background color BG="" -if which hsetroot >/dev/null; then +if which hsetroot >/dev/null 2>/dev/null; then BG=hsetroot -elif which esetroot >/dev/null; then +elif which esetroot >/dev/null 2>/dev/null; then BG=esetroot -elif which xsetroot >/dev/null; then +elif which xsetroot >/dev/null 2>/dev/null; then BG=xsetroot fi test -z $BG || $BG -solid "#303030" @@ -31,4 +31,4 @@ fi # Run the XDG autostart stuff. These are found in /etc/xdg/autostart and # in $HOME/.config/autostart. This requires PyXDG to be installed. # See openbox-xdg-autostart --help for more details. -@libexecdir@/openbox-xdg-autostart OPENBOX +@libexecdir@/openbox-xdg-autostart "$@"