GithubHelp home page GithubHelp logo

tomato's Introduction

CLI Tomato timer

built in rust

Build Status

This is based on the pomodoro technique, where you have work sessions then breaks. The default is to have 25 minutes doing work then 5 minutes of break. You do this until you have completed 4 work sessions which is when you get a longer break (default 20 minutes).

short break work session

Running

Install rust.

Clone/Download this repo, then inside the directory: cargo run --release.

To install run the command cargo install --path ./ --force (from within the directory), then you can type tomato to start the timer.

Tested on mac os, should work fine on Linux, windows support is untested (probably won't work).

Commands

q -> quit

p -> pause

โ†’ (right arrow) -> Skip to next state

โ† (left arrow) -> Revert either to start of current state or previous state (if already ~at start of current state)

l -> If on short break, it becomes a long break

- -> rewind timer by 1 second

= -> forward timer by 1 second

[ -> rewind timer by 5 second

] -> forward timer by 5 second

, -> rewind timer by 60 second

. -> forward timer by 60 second

Config

It is possible to configure the timer to whatever suits your personal needs.

To override the default settings, the config file must either be at $HOME/.config/tomato_timer.conf or you may run the program with --config ${CONFIG_FILE_PATH}.

The values must be in key=value format, where lines starting with # and empty lines are ignored.

You can find example config files in the example_config_files folder, particularly complete.conf.

tomato's People

Contributors

louisdewar avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.