Skip to content
dattanchu edited this page Feb 20, 2011 · 16 revisions

Welcome to the pymodoro wiki!

Pymodoro allows you to add Pomodoro session information into your Xmobar (or dzen). It will look like this: Pymodoro screenshot

To install, simply put the .pymodoro folder in your home folder and open it up to configure.

You should configure session_file variable to point to your pomodoro_session file (i.e. replace dchu with your username)

session_file = '/home/dchu/.pymodoro/pomodoro_session

Configure xmonad to start a new Pomodoro session by adding this to your xmonad.hs

-- start a pomodoro
, ((modMask              , xK_n     ), spawn "touch /home/dchu/.pymodoro/pomodoro_session")

This way, whenever you hit modMask + n, you will start a new pomodoro.

Configure your xmobar to display pymodoro with

Run CommandReader "/home/dchu/.pymodoro/pomodoro.py" "pomodoro"

Then add it to your template.

Clone this wiki locally