aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to '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
+