From a9c616b8000f8cde71c4de05b33add164d375d16 Mon Sep 17 00:00:00 2001 From: Brayan Date: Fri, 18 Dec 2020 18:59:11 +0100 Subject: [PATCH] . in 17,74 so that identifier as non-unicode can see the sign. --- bar-functions/dwm_weather.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }