mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Fix EU satellite for sb-doppler
Hard-code EU-wide satellite
This commit is contained in:
parent
475e4abb40
commit
4cdb9653dd
@ -257,7 +257,7 @@ getdoppler() {
|
|||||||
notify-send "🌦️ Doppler RADAR" "Pulling most recent Doppler RADAR for $loc."
|
notify-send "🌦️ Doppler RADAR" "Pulling most recent Doppler RADAR for $loc."
|
||||||
case "$cont" in
|
case "$cont" in
|
||||||
"US") curl -sL "https://radar.weather.gov/ridge/standard/${loc}_loop.gif" > "$doppler" ;;
|
"US") curl -sL "https://radar.weather.gov/ridge/standard/${loc}_loop.gif" > "$doppler" ;;
|
||||||
"EU") curl -sL "https://api.sat24.com/animated/${loc}/rainTMC/2/" > "$doppler" ;;
|
"EU") curl -sL "https://neige.meteociel.fr/satellite/anim_vis_fr.gif" > "$doppler" ;;
|
||||||
"AF") curl -sL "https://api.sat24.com/animated/${loc}/rain/2/" > "$doppler" ;;
|
"AF") curl -sL "https://api.sat24.com/animated/${loc}/rain/2/" > "$doppler" ;;
|
||||||
"DE") loc="$(echo "$loc" | tr "[:upper:]" "[:lower:]")"
|
"DE") loc="$(echo "$loc" | tr "[:upper:]" "[:lower:]")"
|
||||||
curl -sL "https://www.dwd.de/DWD/wetter/radar/radfilm_${loc}_akt.gif" > "$doppler" ;;
|
curl -sL "https://www.dwd.de/DWD/wetter/radar/radfilm_${loc}_akt.gif" > "$doppler" ;;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user