doppler.sh: use bash, update retired radar URL, fix curl error message

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 14:59:00 -04:00
co-authored by Claude Opus 5.5
parent 1ec4a9b78c
commit 6bd739c793
+4 -4
View File
@@ -1,7 +1,7 @@
#!/bin/sh
#!/bin/bash
# doppler.sh
RADAR_IMAGE_URL="https://radar.weather.gov/lite/N0R/FSX_loop.gif"
RADAR_IMAGE_URL="https://radar.weather.gov/ridge/standard/KFSX_loop.gif"
VIDEO_PLAYER=/usr/bin/mpv
LINK_DOWNLOADER=/usr/bin/curl
FORECAST_URL="wttr.in"
@@ -16,9 +16,9 @@ if [[ ! -f "${VIDEO_PLAYER}" ]];then
fi
if [[ ! -f "${LINK_DOWNLOADER}" ]];then
echo "${VIDEO_PLAYER} not found"
echo "${LINK_DOWNLOADER} not found"
echo "Please install it with your system's package manager"
notify-send "${VIDEO_PLAYER} not found" "Please install it with your system's package manager"
notify-send "${LINK_DOWNLOADER} not found" "Please install it with your system's package manager"
exit 1
fi