Simple pomodoro 🍅
Simple pomodoro timer whith a few useful functions:
- Duration: Duration can be changed to any time wished instead of the standard 25 minutes.
- Repeat: Enables the automatic restart of the timer once it finishes.
- Messages: Prints a message at the end of the timer.
- Quiet mode: Does not display any type of interface, useful for scripting.
- Stop/pause/resume: Stop with
Ctrl+C
, pause/resume withCtrl+Z
.
go get github.com/threkk/tomate/cmd/tomate
A duration is a optionally signed sequence of decimal numbers followed by an
unit. A unit is h
for hours, m
for minutes and s
for seconds.
- Start a timer of 25 minutes.
$ tomate
- Start a timer of 4 minutes and 30 seconds and repeat.
$ tomate -duration 4m30s -quiet
- Start a timer of 1 minute in quite mode.
$ tomate -duration 1m -quiet
- Start a timer of 1 hour with a message.
$ tomate -duration 1h -message "🍅"
Alberto Mtnz (@threkk)
Did you find a problem? Check the issues!
BSD-3. See LICENSE
for more information.