4

GitHub - guysherman/tomato: An app for timing periods of focused work, on the te...

 1 year ago
source link: https://github.com/guysherman/tomato
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Tomato

An app for timing periods of focused work, on the terminal.

Build

go get
go build .

Features

  • Configurable Focus, Break and Long Break periods
  • Desktop Notifications (if you use Kitty as your terminal)

Usage

tomato [-f duration] [-s duration] [-l duration] [-L count]

The main thing you can do via commandline arguments is specify durations for the focused work periods, as well as the short and long break periods. They take the form <number><unit>, where unit is one of: ns, us, ms, s, m, h. You can also do combinations.

Some examples:

  • 300ms
  • 2h45m

Tomato takes the following commandline args:

  • -f the duration for the focused work periods (default 25m)
  • -s the duration for the short break (deafult 5m)
  • -l the duration for the long break (default 15m)
  • -L the number of tomatos required to earn a long break (default 4)

Focus Mode:

A screenshot of Focus Mode

Break Mode:

A screenshot of Break Mode

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK