projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d3a8bab
)
Don't let autostart checking for background-setting tools end up in logs (Fix bug...
author
Dana Jansens
<danakj@orodu.net>
Mon, 1 Oct 2012 04:53:57 +0000
(
00:53
-0400)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 7 Oct 2012 02:30:02 +0000
(22:30 -0400)
data/autostart/openbox-autostart.in
patch
|
blob
|
history
diff --git
a/data/autostart/openbox-autostart.in
b/data/autostart/openbox-autostart.in
index
063c635
..
5c72777
100755
(executable)
--- a/
data/autostart/openbox-autostart.in
+++ b/
data/autostart/openbox-autostart.in
@@
-2,11
+2,11
@@
# Set a background color
BG=""
# Set a background color
BG=""
-if which hsetroot >/dev/null; then
+if which hsetroot >/dev/null
2>/dev/null
; then
BG=hsetroot
BG=hsetroot
-elif which esetroot >/dev/null; then
+elif which esetroot >/dev/null
2>/dev/null
; then
BG=esetroot
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"
BG=xsetroot
fi
test -z $BG || $BG -solid "#303030"