From a2530b3f18e5cdf328f77362b9669fdd5396e3de Mon Sep 17 00:00:00 2001 From: BitHeaven <33015545+BitHeaven-Official@users.noreply.github.com> Date: Wed, 8 Mar 2023 17:28:13 +0500 Subject: [PATCH] Update 0010_300_weather --- .local/scripts/bbr/0010_300_weather | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/scripts/bbr/0010_300_weather b/.local/scripts/bbr/0010_300_weather index 1d491df..a311fcb 100755 --- a/.local/scripts/bbr/0010_300_weather +++ b/.local/scripts/bbr/0010_300_weather @@ -16,7 +16,7 @@ icon=$(echo $icon | tr -d ' ') temp=$(curl -s "wttr.in/$CITY?format=%t") -wind=$(curl -s "wttr.in/$CITY?format=%w") +wind=$(curl -s https://wttr.in/@178.23.190.182?format=j2 | python3 -c "import sys, json; print(json.load(sys.stdin)['current_condition'][0]['windspeedKmph'])") -echo "^b$COLOR2^^c$COLOR1^ ^b$COLOR1^^c$COLOR2^ $icon ^c$COLOR1^^b$COLOR2^ $temp ^d^" +echo "^b$COLOR2^^c$COLOR1^ $wind ^b$COLOR1^^c$COLOR2^ $icon ^c$COLOR1^^b$COLOR2^ $temp ^d^"