bin/pomo: notify => notify-send

This commit is contained in:
Henrik Lissner 2017-09-02 19:02:19 +02:00
parent 2d2c9b4447
commit c17fbc13ce
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

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