~laumann/i3blocks-pomodoro

Pomodoro timer for i3blocks

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~laumann/i3blocks-pomodoro
read/write
git@git.sr.ht:~laumann/i3blocks-pomodoro

You can also use your local clone with git send-email.

#Pomodoro timer for i3

Implements a simple pomodoro timer for i3.

#Requirements

  • i3
  • i3blocks

#Usage

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 mins
  • PAUSE_SECS: The duration of a pause, default is 300, ie 5 mins
  • NROUNDS: The number of rounds to do, default is 4
  • FOCUS_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"

#Contributions

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>

#References