dattanchu/pymodoro — pull request #33 by onurgu (2013-10-21 16:19:13+00:00)
Title: Now we can run pymodoro for only one line of output.

I made this change to run pymodoro for getting only one result and exiting.

Add -o to just get one line and exit.

I needed this because AFAIK dzen2 does not support long-running processes.

I then added this to my conkyrc:

```
background yes
out_to_console yes
out_to_x no
# Update interval in seconds
update_interval 1

TEXT
^i(/home/onur/.xmonad/dzen2/xbm/cpu.xbm) ^fg(\#FFFFFF)${cpu}% ^i(/home/onur/.xmonad/dzen2/xbm/mem.xbm) ^fg(\#FFFFFF)${memperc}% ^fg(\#ebac54) ^fg(\#FFFFFF)${execi 10 python ~/.pymodoro/pymodoro.py -o}
```