an i3blocklet for pomodoro
Add
-----------8<-----------8<-----------8<-----------
[pomodoro]
command=.config/i3/i3blocklets/pomodoro
interval=60
----------->8----------->8----------->8-----------
to $HOME/.config/i3/i3blocks.conf
cp ./pomodoro ~/.config/i3/i3blocklets
reload i3
and you should be good to go (assuming you`re already using i3blocks).
Once the blocklet appears in your bar it says: "NOTHING / 0 of 0"
Click with your right button on it to start your first sprint (the usual rules apply 25/5/25/5/25/5/25/15 minutes). It changes to the default colour and
At the end of the sprint it changes back to the warning state and you can progress to the break and so forth.
The middle mouse button resets it to its initial state
There is none.
If you don`t like some of its behaviour you can change it. Its just a shell script after all. I hope its writing style isn`t too confusing. Should your change be better than the original I would like a pull request.
It has automated tests using bats.
For a PR to be considered ./pomodoro.bats
must not fail.