Home

Awesome

Pomodoro timer in the shell with tomatoshell 🍅!

Copyright © 2022 Nicolai Brand under GPL v2.

tomatoshell is a simple <a href="https://en.wikipedia.org/wiki/Pomodoro_Technique">pomodoro</a> timer program for <a href="https://en.wikipedia.org/wiki/Unix-like">Unix-like</a> systems. It is written in <a href="https://www.gnu.org/software/bash/">Bash</a> and attempts to follow the <a href="https://en.wikipedia.org/wiki/Unix_philosophy">Unix philosophy</a> in a minimalistic bloat-free fashion. In addition to being a pomodoro timer in the terminal, it tracks the time and number of sessions to a log that can be queried to see total time spent.

Installation

On Arch-based distribution, you can use the AUR (Arch User Repository).

$ yay -S tomatoshell
$ tomatoshell

That's it.

To install manually:

Dependencies

Optional dependencies

$ git clone git@github.com:LytixDev/tomatoshell.git
$ cd tomatoshell && ./configure install
$ tomatoshell

Usage

Press the 'q' key at any point during normal program execution to exit properly, or press the 's' key to skip the current countdown (session or break). Pressing the 'p' key would pause the timer.

After installation the program will create a datafolder in $HOME/.local/share/tomatoshell. Here the alarm, alarm.wav, and the logfile tomatoshell_log.csv is located. The alarm can be swapped out for any other audio file that is compatible with the user's chosen audio player. The log file is a csv file with its columns being on the form: "date,number of sessions,seconds per session". The -r argument only tallies up the time spent in hours. Feel free to create some more cool statistics using the data.