Expand description

Timer

§Configuration

KeyValuesDefault
formatA string to customise the output of this block. See below for available placeholders." $icon {$minutes:$seconds |}"
incrementThe numbers of seconds to add each time the block is clicked.30
done_cmdA command to run in sh when timer finishes.None
PlaceholderValueTypeUnit
iconA static iconIcon-
hoursThe hours remaining on the timerTexth
minutesThe minutes remaining on the timerTextmn
secondsThe seconds remaining on the timerTexts

hours, minutes, and seconds are unset when the timer is inactive.

ActionDefault button
incrementLeft / Wheel Up
decrementWheel Down
resetRight

§Example

[[block]]
block = "tea_timer"
format = " $icon {$minutes:$seconds |}"
done_cmd = "notify-send 'Timer Finished'"

§Icons Used

  • tea

Structs§

Functions§