aboutsummaryrefslogtreecommitdiff
path: root/X/xinitrc.d/browser.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-15 14:26:15 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-15 14:28:19 +1300
commit0bff2338642b1dab20c9a720e632691a46153a6a (patch)
treeeaa7efffe6c46d548c28bc1a833a7cf41979e16c /X/xinitrc.d/browser.sh
parentUse .d directory for .xinitrc subscripts (diff)
downloaddotfiles-0bff2338642b1dab20c9a720e632691a46153a6a.tar.gz
dotfiles-0bff2338642b1dab20c9a720e632691a46153a6a.zip
Add command guards around .xinitrc.d subscripts
Diffstat (limited to 'X/xinitrc.d/browser.sh')
-rw-r--r--X/xinitrc.d/browser.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/X/xinitrc.d/browser.sh b/X/xinitrc.d/browser.sh
index 84e8a7f2..cdb9b8c0 100644
--- a/X/xinitrc.d/browser.sh
+++ b/X/xinitrc.d/browser.sh
@@ -1,3 +1,4 @@
# Browser within X is Firefox
+command -v firefox >/dev/null 2>&1 || return
BROWSER=firefox
export BROWSER