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
parent
commit
e7477ab12b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bar-functions/dwm_weather.sh

+ 1
- 1
bar-functions/dwm_weather.sh View File

@ -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"
}


Loading…
Cancel
Save