Re:Life Hack - The 30/30 Minute Work Cycle Feels Like Magic
by lvillani on Thursday November 11, 2010 @06:58AM
(#1893601)
And for those of us with Linux (needs notification-daemon and libnotify):
#!/bin/sh
while true; do
sleep $((30*60))
notify-send -i applications-games -t 60000 "Play" \
"Hey, it's time to take a break\!"
sleep $((30*60))
notify-send -i applications-office -t 60000 "Work" \
"Now get back to work ..."
done
I'm using OS X and like everyone this means I have Growl installed for various applications. I figured that it should be easy enough to announce my times using that.
Looked around, found the commandline tool growlnotify and 5 seconds later...
...was born.