opengeodata.de

Poor man’s Pomodoro in Linux Terminal

2014-07-23

Well, actually I find this approach rather minimalistic than poor but it certainly lacks some comfort. If you like the Pomodoro Technique check out this little line of code:

sleep 1500 && notify-send -u critical -i "/usr/share/pixmaps/waldorf.png" 'Pomodoro' '5min Pause'

This will sleep in the terminal for 25 minutes to wake up and show you a notification which hides only onclick (hence the -u critical). -i will embed an icon you may find suitable, first string is a heading, second string is the actual message. If notify-send doesn’t work, make sure you have libnotify installed.

(via su and magnatecha)