summaryrefslogtreecommitdiff
path: root/.prefix/bin/x-www-browser
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-04-11 23:01:21 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-04-11 23:01:21 -0400
commit6c0a5af3aba9902206a73a62e2be2e4dd67be9da (patch)
treecbc0dbb938716a80cc0248b5aff97dc34f21c756 /.prefix/bin/x-www-browser
parentebc4f813d517d44ddf7440fd8043c5d41adf8932 (diff)
parenta96ee608ce4be813ce381a6a0c195591f633986e (diff)
Merge branch 'hp-dv6426us-par' into identica-mode-1.2hp-dv6426us-par/identica-mode-1.2
Conflicts: .emacs
Diffstat (limited to '.prefix/bin/x-www-browser')
-rwxr-xr-x.prefix/bin/x-www-browser14
1 files changed, 14 insertions, 0 deletions
diff --git a/.prefix/bin/x-www-browser b/.prefix/bin/x-www-browser
new file mode 100755
index 0000000..0ead72a
--- /dev/null
+++ b/.prefix/bin/x-www-browser
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+list='firefox iceweasel icecat conkeror'
+
+looking=true
+for prog in $list; do
+ if $looking && [ -n "`pgrep $prog`" ]; then
+ $prog $@
+ looking=false
+ fi
+done
+if $looking; then
+ conkeror $@
+fi