Amit Meena Posted April 21, 2013 Share Posted April 21, 2013 i really don't know where yo post this thats why i'm posting it in this section. so i want help regarding weather with geektool, the thing is i have got the weather working in celcius(i want it in celcius only) but i can't get the image(icon) thing working, i have tried so many things for it , so please help me to get it working , below are few links for my location which will be needed for you for the script. http://xml.weather.y...?p=INXX0059&u=c http://weather.yahoo...?p=INXX0059&u=c http://weather.yahoo...jaipur-2295401/ Thank You. P.S. : i want these kind of icons from yahoo only not the other flat ones or pixelated ones. Link to comment Share on other sites More sharing options...
maximus Posted April 21, 2013 Share Posted April 21, 2013 Try this. curl --silent "http://weather.yahoo.com/india/rajasthan/jaipur-2295401/" | grep "current-weather" | sed "s/.*background\:url(\'\(.*\)\') .*/\1/" | xargs curl --silent -o /tmp/weather1.png\ 1 Link to comment Share on other sites More sharing options...
Amit Meena Posted April 21, 2013 Author Share Posted April 21, 2013 Try this. curl --silent "http://weather.yahoo.com/india/rajasthan/jaipur-2295401/" | grep "current-weather" | sed "s/.*background\:url(\'\(.*\)\') .*/\1/" | xargs curl --silent -o /tmp/weather1.png\ thanx mate , i already got this script from a youtube video but i used weather.png in place of weather1.png now setting this thread as solved Link to comment Share on other sites More sharing options...
bh2 Posted September 5, 2013 Share Posted September 5, 2013 My weather icon has stopped working! Here's what I have in prefs... Help! Link to comment Share on other sites More sharing options...
Amit Meena Posted September 6, 2013 Author Share Posted September 6, 2013 My weather icon has stopped working! Here's what I have in prefs... Help! same here Link to comment Share on other sites More sharing options...
bh2 Posted September 6, 2013 Share Posted September 6, 2013 Looking over at macrumours... seems to have stopped for lots of peeps. Link to comment Share on other sites More sharing options...
Amit Meena Posted September 6, 2013 Author Share Posted September 6, 2013 Looking over at macrumours... seems to have stopped for lots of peeps. let us know if you find anything on it. Link to comment Share on other sites More sharing options...
Recommended Posts