#!/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