Commit graph

2 commits

Author SHA1 Message Date
Marty Oehme d37e65f03c
[polybar] Fix pomodoro timer script display
Moved pomo submodule directory to avoid conflict with pomo generated
file.

Right-clicking will now always reset the pomodoro timer. It will not
automatically start again. Left-click it once to initialize a new run,
and again to actually start the timer.

The symbol signifies this:
Empty tomato, timer stopped.
Half-full tomato, timer paused.
Clock-tomato and a timer beside it, work timer running.
Coffee cup, break timer running.
2020-05-26 13:42:14 +02:00
Marty Oehme 050bac9c55 [polybar] Add pomo timer as git submodule
Using [jsspencer/pomo](https://github.com/jsspencer/pomo) as the timer
of choice. It is simple, it works well, and it uses a very elegant way
of tracking the time.

I can think about implementing my own version later, but this will
handily suffice for now.

Polybar script will now limit the pomo timer to a single 'running'
instance containing the notification function, by putting its running
instance PID in a lockfile and killing it before restarting or changing
the timer.

Added running and paused tomato icons; as well as break coffee icon.
Removed display of seconds, unless the last minute of a timer is
running.
2020-05-25 15:25:45 +00:00