A simple Pomodoro timer

I first heard about the Pomodoro Technique by @sugarenia. The technique is basically this:

Work on a task for 25 minutes (a “pomodoro”) and then take a break for 5 minutes. Every four pomodoros, take a longer break.

Like the book proposes, I am using a kitchen timer (I did so after reading Lakein’s book back in 2008). Besides using hardware, there exist a number of software packages that countdown from 25 minutes. I think however, that that following shell script is among the simplest (if not the simplest) implementations:

( sleep 1500 && xlock ) &

If you find the xlock(1) approach harsh, you can always use a variation like xsetroot -solid red.

( Tested on OpenBSD-4.7 )

4 thoughts on “A simple Pomodoro timer

    1. It sometimes does. Especially if I have a lot to do and do not want to context-switch all the time. That way, it allows me to handle interruptions, since I can deal with them after 25 minutes (max).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s