Open dominikmayer opened 13 years ago
One way would be to define a keybinding to delete a session file. So every not deleted session file would count as a finished Pomodoro.
This would grow the number of files in the same directory to be quite big in a short amount of time. To counter this we should put session files into sub folders based on month, day. e.g. Session files for today would be in the folder
pomodoro_folder/5/29/
This should be suffice for now.
I think we don't even need this. Have a look at the Pomodoro Calendar I made: http://likeswater.com/pomodoro-calendar-2011. I was thinking about adding a simple counter to Xmobar. During the week I want to do at least eight Pomodoros per day. So while I'm doing the third one Xmobar could show something like:
P XXX·· 10 min [2/8]
or
P XXX·· 10 min [xx __]
On a Saturday it would change to:
P XXX·· 10 min [2/4] P XXX·· 10 min [xx__]
This could be stored in a simple configuration file. I'm looking into ConfigParser (http://docs.python.org/py3k/library/configparser.html). That would also be a good way to store the configuration in some kind of .pymodororc.
ini-style like that supported by ConfigParser looks good to me
Problem: How do we know if Pomodoro was finished?