aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/browser.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-06-20 22:56:49 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-06-20 22:56:49 +1200
commita835f5133ea7d6a3fb9366a87b439ce583690229 (patch)
tree25fb105360df88784aabab69ef9a9661a5fa6af7 /sh/profile.d/browser.sh
parent02b292620171c029d700990055f2d85367281766 (diff)
downloaddotfiles-a835f5133ea7d6a3fb9366a87b439ce583690229.tar.gz
dotfiles-a835f5133ea7d6a3fb9366a87b439ce583690229.zip
Add one profile.d script
Mostly because git doesn't do empty dirs
Diffstat (limited to 'sh/profile.d/browser.sh')
-rw-r--r--sh/profile.d/browser.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/sh/profile.d/browser.sh b/sh/profile.d/browser.sh
new file mode 100644
index 00000000..2b060b06
--- /dev/null
+++ b/sh/profile.d/browser.sh
@@ -0,0 +1,9 @@
+# Browser
+if [ -n "$DISPLAY" ]
+then
+ BROWSER='firefox'
+else
+ BROWSER='lynx'
+fi
+export BROWSER
+