diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-22 23:46:29 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-22 23:46:29 -0400 |
commit | d26fda540c355fa37a1381b11765c47fdc5bd006 (patch) | |
tree | f6510335adf691d662cae765cb7f77dcdcbf4efc /.local/bin/x-www-browser | |
parent | 3b8d4575218ab6d8e1155a81c45d81a8631aff25 (diff) | |
parent | 7036a9b36396ae49cf8ba0f8ad5fe139a65433c1 (diff) |
Merge branch 'hp-dv6426us-par'
Conflicts:
.crontab.local
.git.info.exclude
.wmii/wmiirc_local
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 |