toyotacorolla

vroom
git clone https://git.davidvoz.net/toyotacorolla.git
Log | Files | Refs

weather (316B)


      1 #!/bin/sh
      2 # view the weather in terminal
      3 
      4 curl -s 'https://forecast.weather.gov/meteograms/Plotter.php?' > /tmp/weather_chart # fill in the rest with your address
      5 
      6 nsxiv -z 156 -b /tmp/weather_chart & sleep 0.1
      7 xdotool search --onlyvisible --class nsxiv windowactivate --sync key f
      8 wait
      9 rm /tmp/weather_chart
     10 exit 0