commit ed77ef6f10bdd0e53015e7f77056b2bebd910cdd Author: Emil Miler Date: Thu Jun 18 09:02:29 2020 +0200 Initial commit diff --git a/weathermap.sh b/weathermap.sh new file mode 100755 index 0000000..d5e7835 --- /dev/null +++ b/weathermap.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +address="http://portal.chmi.cz/files/portal/docs/meteo/rad/data_tr_png_1km/" +images=$(curl -s "$address" | grep -o 'pacz23\.z_max3d\.[0-9]\{8\}\.[0-9]\{4\}\.0\.png' | uniq | tail -5 | sed "s,^,$address," | tr "\n" " ") +mpv --loop --merge-files $images