Why does it feel like Monday?!?!? OH WHY?!?!?!?!?
My new desktop complete with GeekTool “stuff.” A couple of peeps wanted to know how to do the weather and itunes bits… here you go:
Weather Blurb:
curl —silent “http://xml.weather.yahoo.com/forecastrss?p=ZIPCODEHERE&u=f” | grep -E ‘(Current Conditions:|F<BR)’ | sed -e ‘s/Current Conditions://’ -e ‘s/<br \/>//’ -e ‘s/<b>//’ -e ‘s/<\/b>//’ -e ‘s/<BR \/>//’ -e ‘s/<description>//’ -e ‘s/<\/description>//’
iTune Now Playing bit:
osascript ~/Library/’Application Support’/geektool/itunesNP.scpt
iconv -f utf-8 -t ucs-2-internal
You can grab the lil Applescript bit here.
Also, the IM part is a lil app called Adium.
Enjoy!