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

Option to send blank output if there's no session #24

Closed mickboldon closed 11 years ago

mickboldon commented 11 years ago

I wanted my xmobar to only display pymodoro if I was actively using it. This adds an --auto-hide option which makes it print a blank string when the session file doesn't exist. This lets me hide it from the bar by doing rm ~/.pomodoro_session and then show/activate it with touch ~/.pomodoro_session.