Browse Source
Merge pull request #17 from bdealbuquerque/add_point_to_weather_grep
. in 17,74 so that identifier as non-unicode can see the sign.
main
Joe Standring
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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" |
|
|
|
} |
|
|
|