Update 0010_300_weather

This commit is contained in:
BitHeaven 2023-03-08 17:12:41 +05:00 committed by GitHub
parent abd5b97495
commit ea8ebd5001
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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