Update 0010_300_weather
This commit is contained in:
parent
abd5b97495
commit
ea8ebd5001
|
@ -6,9 +6,9 @@ COLOR1="#AAAAAA"
|
||||||
COLOR2="#444444"
|
COLOR2="#444444"
|
||||||
|
|
||||||
|
|
||||||
if[$CITY = 'auto']
|
if [ $CITY = "auto" ]
|
||||||
then
|
then
|
||||||
CITY="@$(curl zx2c4.com/ip | head -1)"
|
CITY="@$(curl -s zx2c4.com/ip | head -1)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
icon=$(curl -s "wttr.in/$CITY?format=%C")
|
icon=$(curl -s "wttr.in/$CITY?format=%C")
|
||||||
|
|
Loading…
Reference in New Issue