From ea8ebd500160cc66cfe9febb24af44f53b2d1ce6 Mon Sep 17 00:00:00 2001 From: BitHeaven <33015545+BitHeaven-Official@users.noreply.github.com> Date: Wed, 8 Mar 2023 17:12:41 +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 f89923e..1d491df 100755 --- a/.local/scripts/bbr/0010_300_weather +++ b/.local/scripts/bbr/0010_300_weather @@ -6,9 +6,9 @@ COLOR1="#AAAAAA" COLOR2="#444444" -if[$CITY = 'auto'] +if [ $CITY = "auto" ] then - CITY="@$(curl zx2c4.com/ip | head -1)" + CITY="@$(curl -s zx2c4.com/ip | head -1)" fi icon=$(curl -s "wttr.in/$CITY?format=%C")