Tim: "Hey I heard you got a Mac. That's cool."
Eric: "Yeah, I've wanted one for a long time and it's been a lot of fun setting up."
Tim: "I prefer Ubuntu. I've been having a blast modifying it. I have the date and time integrated with the desktop."
Eric: "Yeah me too."
Tim: "WHA?!"
Yep.
GeekTool (don't DL v. 3.0, it's still buggy)
To save you some time, the terminal codes for time, day, month and date (respectively) are the following:
Code:
date "+%I:%M:%S %p"
date "+%A"
date "+%B"
date "+%d"
The weather is slightly more complicated. Visit yahoo weather, locate the URL, and locate your specific city code:
Code:
curl --silent "http://xml.weather.yahoo.com/forecastrss?p=YOURCITYCODE&u=c" | grep -E '(Current Conditions:|C<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//'
I've been having a blast screwing around with this thing.