Skip to content

fortune, growl and Mac goodness

Just realized that unix fortune goodness is available on Mac OS X quite simply by typing:

fink install fortune-mod

(Fink can be obtained here). And of course, it can all be combined with growl goodness to produce this:

Fortune cookies

Quite neat, eh? Well it’s quite simple, all you need is growlnotify, and to write a simple script:

/usr/local/bin/growlnotify -s --image /Users/anshul/Pictures/gnu-head-tiny.jpg -m "$msg"

With this, add it to your cron jobs, startup items, quicksilver triggers or whatever else you want, and enjoy :)

(Of course I chose to use the gnu logo for the icon, you can put in any JPG file, or none if you so wish)