using the browser abstraction

This commit is contained in:
Fabien Benetou
2011-07-13 23:08:58 +02:00
parent f415b06b79
commit 95d9fe9d5f

View File

@@ -10,5 +10,5 @@ TIME=`date +%H:%M`
START=`echo $1|tr " " "+"`
END=`echo $2|tr " " "+"`
# should instead call the default browser
firefox --new-tab http://www.ratp.fr/itineraires/fr/ratp/resultat-simple/$START/$END/is_date_start/1/date/$DATE/time/$TIME/route_type/plus_rapide
# replace by xdg-open or directly by your browser (e.g. firefox --new-tab) if required
sensible-browser http://www.ratp.fr/itineraires/fr/ratp/resultat-simple/$START/$END/is_date_start/1/date/$DATE/time/$TIME/route_type/plus_rapide