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:
- Save that code snippet as a script, like ‘mytweets.sh’
- Put the full path to the script in the command input in a new Command Geeklet. For example /Users/yourname/bin/mytweets.sh.
- Set the font face, color and size to your liking!
Advertisement
