News for hackers. Stuff that matters.
Re:Life Hack - The 30/30 Minute Work Cycle Feels Like Magic by merijnv on Wednesday November 10, 2010 @06:54AM (#1889986)
Well, this morning after reading this I threw together a script in 5 secs to do this for me.

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...

    #!/bin/sh

    while true; do
        sleep $((30*60))
        growlnotify -swn Timer -m Playtime! Timer
        sleep $((30*60))
        growlnotify -swn Timer -m Worktime! Timer
    done
...was born.
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