|
|
@ -277,9 +277,9 @@ display_forecast() {
|
|
|
|
|
|
|
|
|
|
|
|
if [[ -n "$PRETTY" ]] ; then
|
|
|
|
if [[ -n "$PRETTY" ]] ; then
|
|
|
|
# nerdfont
|
|
|
|
# nerdfont
|
|
|
|
curl -fsSL "https://v2d.wttr.in/${LAT},${LON}" -o /tmp/weather
|
|
|
|
curl -fsSL "https://v2d.wttr.in/${LAT},${LON}?F" -o /tmp/weather
|
|
|
|
else
|
|
|
|
else
|
|
|
|
curl -fsSL "https://wttr.in/${LAT},${LON}" -o /tmp/weather
|
|
|
|
curl -fsSL "https://wttr.in/${LAT},${LON}?F" -o /tmp/weather
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
setsid -f st -e less -Srf /tmp/weather
|
|
|
|
setsid -f st -e less -Srf /tmp/weather
|
|
|
|