dattanchu / pymodoro

Pymodoro is the Pomodoro for Xmobar or Dzen. It runs and it tells you where you are in your current pomodoro session.
MIT License
65 stars 18 forks source link

State not updated for pymodoroi3 #50

Closed treiher closed 6 years ago

treiher commented 6 years ago

The pymodoroi3.py script does not work anymore in the current version. The reason seems to be Commit c09eac5f545e8bf3b941f7ee594d63cd11146bba. Since then get_seconds_left() is only called by run(), but not by update_state() anymore. As pymodoroi3 only uses update_state(), it always sees the state as IDLE.

dattanchu commented 6 years ago

I would appreciate a PR for this fix. I am a bit busy at the moment and don't have access to a machine with i3.