summaryrefslogtreecommitdiff
path: root/.local/bin/x-www-browser
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/x-www-browser')
-rwxr-xr-x.local/bin/x-www-browser14
1 files changed, 2 insertions, 12 deletions
diff --git a/.local/bin/x-www-browser b/.local/bin/x-www-browser
index 0ead72a..bbd8943 100755
--- a/.local/bin/x-www-browser
+++ b/.local/bin/x-www-browser
@@ -1,14 +1,4 @@
#!/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
+`pick -s conkeror iceweasel icecat firefox` "$@"
+exit $?