doppler.sh: make radar image var more descriptive

This commit is contained in:
mollusk 2020-06-17 08:50:19 -07:00
parent 6a6616cfbc
commit 2242818f97

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# doppler.sh # doppler.sh
IMAGE_URL="https://radar.weather.gov/lite/N0R/FSX_loop.gif" RADAR_IMAGE_URL="https://radar.weather.gov/lite/N0R/FSX_loop.gif"
VIDEO_PLAYER=/usr/bin/mpv VIDEO_PLAYER=/usr/bin/mpv
LINK_DOWNLOADER=/usr/bin/curl LINK_DOWNLOADER=/usr/bin/curl
FORECAST_URL="wttr.in" FORECAST_URL="wttr.in"
@ -36,6 +36,6 @@ case "${1}" in
*) *)
notify-send "Getting radar image" "please wait..." notify-send "Getting radar image" "please wait..."
${VIDEO_PLAYER} --loop=inf "${IMAGE_URL}" ${VIDEO_PLAYER} --loop=inf "${RADAR_IMAGE_URL}"
;; ;;
esac esac