nerdfont support
This commit is contained in:
parent
c61de6a572
commit
e990b13ea9
6
weather
6
weather
@ -6,7 +6,6 @@ usage() {
|
||||
usage: $0 [-a KEY][-s QUERY | -z ZIPCODE][-u <c|f>][-p][-i][-l][-h]
|
||||
|
||||
Queries OpenWeatherMapAPI for weather or lat/long
|
||||
|
||||
options:
|
||||
-a, --apikey set the api key to use to KEY
|
||||
-l, --location print the location being used
|
||||
@ -276,7 +275,12 @@ display_forecast() {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -n "$PRETTY" ]] ; then
|
||||
# nerdfont
|
||||
curl -fsSL "https://v2d.wttr.in/${LAT},${LON}" -o /tmp/weather
|
||||
else
|
||||
curl -fsSL "https://wttr.in/${LAT},${LON}" -o /tmp/weather
|
||||
fi
|
||||
|
||||
setsid -f st -e less -Srf /tmp/weather
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user