Quote all arguments to update_display()
Add LICENSE
readme: Use fancy quotes
Implements a simple pomodoro timer for i3.
Copy the pomodoro
file to you location of choice and ensure that it's
executable.
Add the following to your i3blocks config file:
[pomodoro]
command=path/to/pomodoro
format=json
interval=1
#FOCUS_SECS=1500
#PAUSE_SECS=300
#NROUNDS=4
#FOCUS_LABEL=Focus
#PAUSE_LABEL=Pause
#INACTIVE_LABEL=Inactive
The initial state is "Inactive". To start a pomodoro session, simply click on the timer and it starts a focus session.
Configurable parameters are:
FOCUS_SECS
: The duration of a focus session, default is 1500, ie 25 minsPAUSE_SECS
: The duration of a pause, default is 300, ie 5 minsNROUNDS
: The number of rounds to do, default is 4FOCUS_LABEL
: The label to use during focus time, default is the text
"Focus"PAUSE_LABEL
: The label to use during pause, default is the text "Pause"INACTIVE_LABEL
: The label to use when not running, default is the text
"Inactive"If you want to contribute a patch, clone this project, make a patch and submit
it with git send-email to
~laumann/public-inbox@lists.sr.ht. Use “i3blocks-pomodoro” in the [PATCH]
subject-prefix:
git format-patch --subject-prefix="PATCH i3blocks-pomodoro" <revision range>