gomodoro

command module
v0.0.0-...-0f24efe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2020 License: MIT Imports: 4 Imported by: 0

README

gomodoro

Pomodoro Timer in Go

Usage

$ ./gomodoro --help
Usage of ./gomodoro:
  -P	long pause (10 min)
  -W	long work (25 min)
  -p	short pause (5 min)
  -w	short work (15 min)
  -m int
    	duration in minutes (default 5)
  -d	debug mode (count seconds instead of minutes)

Sample Output

$ ./gomodoro -w -d
Set timer for 15 minutes
 1 minute has passed...
 2 minutes have passed...
 3 minutes have passed...
 4 minutes have passed...
 5 minutes have passed...
 6 minutes have passed...
 7 minutes have passed...
 8 minutes have passed...
 9 minutes have passed...
10 minutes have passed...
11 minutes have passed...
12 minutes have passed...
13 minutes have passed...
14 minutes have passed...
15 minutes have passed...
and done..
$

Installation

This program uses https://github.com/gen2brain/beeep for cross-plattform notifications. You can install it with go get -u github.com/gen2brain/beeep.

On Linux this library uses notify-send, which can be installed e.g. on Ubuntu with sudo apt install libnotify-bin

Tomato icon by OpenMoji – the open-source emoji and icon project. License: CC BY-SA 4.0

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL