X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=data%2Fautostart%2Fopenbox-autostart.in;h=5c7277740396c9cf92a6fc6a1a316324f867f043;hb=d0ba8806689ea80b6a739122aaf8dac81d2a3e5c;hp=063c635feb39c78767d8826c56eb01a14c6c746b;hpb=d09fd3183e6a52c63fcfdcf62d418cfdccb0015b;p=chaz%2Fopenbox diff --git a/data/autostart/openbox-autostart.in b/data/autostart/openbox-autostart.in index 063c635f..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"