doppler.sh: make radar image var more descriptive
This commit is contained in:
parent
6a6616cfbc
commit
2242818f97
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user