helm/bin/pomo

4 lines
158 B
Plaintext
Raw Normal View History

2017-08-06 08:34:33 -07:00
#!/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 &