diff --git a/modules/weather b/modules/weather index 9bd9f52..1c4dd48 100755 --- a/modules/weather +++ b/modules/weather @@ -6,7 +6,8 @@ get_weather() { - curl -s v2.wttr.in | grep -e "Weather" | sed -n 2p | sed s/Weather://g | sed 's/,//g' | sed 's/+//g' | sed 's/°C.*/°C/' | sed 's/.*m//' + CITY=Chandigarh + curl -s v2.wttr.in/$CITY | grep -e "Weather" | sed -n 2p | sed s/Weather://g | sed 's/,//g' | sed 's/+//g' | sed 's/°C.*/°C/' | sed 's/.*m//' }