dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit ff074955ec616e6e1a170d36bcd36c470c2746c4
parent e4a4e478285f2b8891e5ceddcf7fd43f82e00322
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 21 Sep 2018 12:47:24 +0200

Add wind option for forecast

Diffstat:
Mlinks/bin/forecast | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/links/bin/forecast b/links/bin/forecast @@ -24,7 +24,11 @@ if [ $# -gt 0 ]; then exit 0 elif [ "$1" == "3-9" ]; then url="http://servlet.dmi.dk/byvejr/servlet/byvejr?by=${zipcode}&tabel=dag3_9&eps=true" + elif [ "$1" == "wind" ]; then + url="http://servlet.dmi.dk/bv/servlet/bvImage?stat=6065&param=wind" fi +else + exit 1 fi tmpfile=$(mktemp).png