4 ms·
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
by merijnv 16y ago
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.
- lvillani 16y agoAnd 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