helm/bin/pomo
2017-08-06 17:34:33 +02:00

4 lines
158 B
Bash
Executable file

#!/usr/bin/env bash
# A minimalistic pomodoro timer.
# e.g. pomo 25 "Hello!"
sleep $((${1:-25} * 60)) && notify "($(date +%H:%M)) ${2:-Break time!}" && ding &