~ / blog / Geektool and Desktop Widgets in OSX

Sat, Dec 13, 2014

This is a Geektool tutorial on how to customize your Mac OSX desktop homescreen. Using Geektool you can add a widget like functionality to your desktop.

All you need to do is download the following script from here and place it in any folder. Then add a Geektool script and link it to the bash script you’ve downloaded.

I’ve also used a Calvin and Hobbes / Bill Watterson font to display the day, time and weather using the following codes.


date '+%A' | tr [:lower:] [:upper:]


date '+%I: %M %p'


curl --silent "https://xml.weather.yahoo.com/forecastrss?p=50014&u=f" | grep -E '(Current Conditions:|F<BR)' | sed -e 's/Current Conditions://' -e 's/
//' -e 's/<b>//' -e 's/<\/b>//' -e 's/
//' -e 's///' -e 's/<\/description>//'

You can also display your battery level, uptime, network connectivity status. There are also loads of preset Geeklets that you can download to get yourself a good looking homescreen. Sky is the limit!