GeekTool and Twitter = Desktop Bliss

Duhhhh…

That’s the sound of realizing that I’ve been missing out on the most obvious use of GeekTool, one of my favorite OS X applications.

So now that I’ve caught up to where the cool kids were last year, here’s the result:

How’s it done?

Setting up a twitter shell script is pretty well documented and there are plenty of posts on it. I started with an article by Diminished Effect and changed it slightly to meet my formatting needs:

#!/bin/bash
curl -s -u USER:PASSWORD http://twitter.com/statuses/friends_timeline.rss | egrep "<title>" | sed -e 's/<title>\(.*\)</title>/\1/g' | sed G

To wrap this up:

  1. Save that code snippet as a script, like ‘mytweets.sh’
  2. Put the full path to the script in the command input in a new Command Geeklet. For example /Users/yourname/bin/mytweets.sh.
  3. Set the font face, color and size to your liking!
Advertisement

About mcoopet

Co-founder of Code 42 Software, Inc. The guy behind the scenes at work and at home
This entry was posted in Technology. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s