Timer
§Configuration
Key | Values | Default |
format | A string to customise the output of this block. See below for available placeholders. | " $icon {$minutes:$seconds |}" |
increment | The numbers of seconds to add each time the block is clicked. | 30 |
done_cmd | A command to run in sh when timer finishes. | None |
Placeholder | Value | Type | Unit |
icon | A static icon | Icon | - |
hours | The hours remaining on the timer | Text | h |
minutes | The minutes remaining on the timer | Text | mn |
seconds | The seconds remaining on the timer | Text | s |
hours
, minutes
, and seconds
are unset when the timer is inactive.
Action | Default button |
increment | Left / Wheel Up |
decrement | Wheel Down |
reset | Right |
§Example
[[block]]
block = "tea_timer"
format = " $icon {$minutes:$seconds |}"
done_cmd = "notify-send 'Timer Finished'"
§Icons Used