diff --git a/bar-functions/dwm_weather.sh b/bar-functions/dwm_weather.sh index ac43add..6c7fd8c 100755 --- a/bar-functions/dwm_weather.sh +++ b/bar-functions/dwm_weather.sh @@ -14,7 +14,7 @@ dwm_weather() { if [ "$IDENTIFIER" = "unicode" ]; then printf "%s" "$(curl -s wttr.in/$LOCATION?format=1)" else - printf "WEA %s" "$(curl -s wttr.in/$LOCATION?format=1 | grep -o "[0-9].*")" + printf "WEA %s" "$(curl -s wttr.in/$LOCATION?format=1 | grep -o ".[0-9].*")" fi printf "%s\n" "$SEP2" }