|
@ -14,7 +14,7 @@ dwm_weather() { |
|
|
if [ "$IDENTIFIER" = "unicode" ]; then |
|
|
if [ "$IDENTIFIER" = "unicode" ]; then |
|
|
printf "%s" "$(curl -s wttr.in/$LOCATION?format=1)" |
|
|
printf "%s" "$(curl -s wttr.in/$LOCATION?format=1)" |
|
|
else |
|
|
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 |
|
|
fi |
|
|
printf "%s\n" "$SEP2" |
|
|
printf "%s\n" "$SEP2" |
|
|
} |
|
|
} |
|
|