GeekTool and Calendaring

Here’s what I have on my desktop now, thanks to GeekTool and some simple one-line scripts.

Picture 1.png

Here are the useful command line arguments:

  • date +%A » prints the day of the week (Sunday)
  • date +%d » prints the day of the month (19)
  • date +’%B, %Y’ » prints the month, year (April, 2009)
  • » as described below

Here’s the contents of

curl --silent "" | grep -E '(Current Conditions:|F//' -e 's///' -e 's/<\/b>//' -e 's/
//' -e 's///' -e 's/<\/description>//'

Replace YOURCITYCODE with your appropriate city code as Yahoo Weather likes it.