update module_weather
This commit is contained in:
parent
2e752c2a2e
commit
6dce7cfe0f
|
@ -8,7 +8,7 @@ module_config
|
|||
command -v curl > /dev/null || exit
|
||||
|
||||
WEATHER_FULL="$(echo "$(curl -s wttr.in/?format="%C" || exit), $(curl -s wttr.in/?format=3 | sed 's/.* //; s/.*\(.....\)/\1/')")"
|
||||
echo "$WEATHER_FULL" | grep -qE "Unknown location|<html>" && exit
|
||||
echo "$WEATHER_FULL" | grep -qE "Unknown location|<html>| ," && exit
|
||||
|
||||
# clicking
|
||||
CLICK() {
|
||||
|
|
Loading…
Reference in a new issue