helm/bin/pomo

4 lines
163 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!"
2017-09-02 10:02:19 -07:00
sleep $((${1:-25} * 60)) && notify-send "($(date +%H:%M)) ${2:-Break time!}" && ding &