diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-30 11:36:32 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-30 11:36:32 -0400 |
commit | dbab2a06f142894f446f1f66b637242862dcd7bf (patch) | |
tree | c8888e76f39647edad67abd73e74605b1d95b3aa /.local/bin/x-www-browser | |
parent | bd8512e48b8ca0f44171c06578da7a5f3cd6663f (diff) | |
parent | 344bd61ba0d7d06b3cec6499ef6b4058f9d64626 (diff) |
Merge branch 'master' of gitorious.org:lukeshu-dotfiles/lukeshu-dotfiles
Conflicts:
.emacs
.emacs.d/custom.el
Diffstat (limited to '.local/bin/x-www-browser')
-rwxr-xr-x | .local/bin/x-www-browser | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.local/bin/x-www-browser b/.local/bin/x-www-browser new file mode 100755 index 0000000..0ead72a --- /dev/null +++ b/.local/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 |