check if xset exists before executing it

This commit is contained in:
Arne Schauf committed 2014-05-11 17:23:48 +02:00
1 parent 86c1c30bb5
commit ccf1674a2b
1 file changed
+3 -1
+3 -1
View File
@@ -27,4 +27,6 @@ if which tmux 2>&1 >/dev/null; then
test -z "$TMUX" && (tmux attach || tmux new-session)
fi
xset -b
if which xset 2>&1 >/dev/null; then
xset -b
fi