GitXplorerGitXplorer
s

pomo

public
86 stars
13 forks
0 issues

Commits

List of commits on branch main.
Verified
ffeb1498d339b6b4503519ef3ad4f2300724dbaa

Remove echo

ssayanarijit committed 4 years ago
Unverified
b9f195eed2dadbe92aec06ed5d4acb4374e060ae

Print date instead of message

ssayanarijit committed 4 years ago
Verified
f47d3a248efa9aa9f3503f9b476a1a4bf3b9d370

Update README.md

ssayanarijit committed 4 years ago
Verified
1d0f78535de21cb18ba608d0db330e772d19340a

Update pomo.sh

ssayanarijit committed 4 years ago
Verified
b11bdfdd71aa4bf67f83b4d7708c3af3c37032b9

Update README.md

ssayanarijit committed 4 years ago
Verified
234261e13e8d86e8863169816e63e0b75156ac20

Update README.md

ssayanarijit committed 4 years ago

README

The README file for this repository.

pomo

Probably the simplest pomodoro timer CLI for Linux

Installation

You don't have to install it. Just copy the following snippet in your .profile / .bashrc / .zshrc.

function pomo() {
    arg1=$1
    shift
    args="$*"

    min=${arg1:?Example: pomo 15 Take a break}
    sec=$((min * 60))
    msg="${args:?Example: pomo 15 Take a break}"

    while true; do
        date '+%H:%M' && sleep "${sec:?}" && notify-send -u critical -t 0 -a pomo "${msg:?}"
    done
}

Usage

pomo 15 Take a break