using the browser abstraction

master
Fabien Benetou 14 years ago
parent f415b06b79
commit 95d9fe9d5f
  1. 4
      shell_scripts/ratp_now

@ -10,5 +10,5 @@ TIME=`date +%H:%M`
START=`echo $1|tr " " "+"` START=`echo $1|tr " " "+"`
END=`echo $2|tr " " "+"` END=`echo $2|tr " " "+"`
# should instead call the default browser # replace by xdg-open or directly by your browser (e.g. firefox --new-tab) if required
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 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

Loading…
Cancel
Save