Tuesday, August 11, 2009

GeekTool Script

GeekTool is a PrefPane for Mac OS X. It let you display on your desktop different kind of information to create a very cool desktop.
Here are some files/scripts I am using:
  • System log: file: /var/log/system.log
  • Sunlight: Image: http://www.opentopia.com/images/cams/world_sunlight_map_rectangular.jpg
  • Top process: Shell: top -ocpu -FR -l2 -n20 | grep '^....[1234567890] ' | grep -v ' 0.0% ..:' | cut -c 1-24,33-42,64-77
  • Weather image: http://image.weather.com/images/sat/canadasat_720x486.jpg
  • Yahoo weather: Shell: curl --silent "http://xml.weather.yahoo.com/forecastrss?p=CAXX0504&u=c" | grep -E '(CurrentConditions:|C//g' -e 's/[<>\/]//g' -e 's/BR//g' -e's/br//g' -e 's/title//g' -e 's/pubDate//g'

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home