From a835f5133ea7d6a3fb9366a87b439ce583690229 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 20 Jun 2013 22:56:49 +1200 Subject: Add one profile.d script Mostly because git doesn't do empty dirs --- .gitignore | 1 + sh/profile.d/browser.sh | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 sh/profile.d/browser.sh diff --git a/.gitignore b/.gitignore index dd5a5f4d..6f1d584d 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ mutt/muttrc.alternates mutt/signature.* newsbeuter/urls sh/profile.d/* +!sh/profile.d/browser.sh urxvt/urxvtd-* vim/.netrwhist vim/spell/* 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 + -- cgit v1.2.3