diff options
author | Raymaekers Luca <luca@spacehb.net> | 2025-01-12 14:27:49 +0100 |
---|---|---|
committer | Raymaekers Luca <luca@spacehb.net> | 2025-01-12 14:27:49 +0100 |
commit | 3037e98983fa03863fcd8002c561e95dff213f76 (patch) | |
tree | 5ec69fd7c4febf54ffe93f12a673a751477f3f5f /bin | |
parent | 449f969b19e1b6a5e402305f2c968d9ed09dedf7 (diff) |
checkpoint
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/menuscripts/pomo | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/menuscripts/pomo b/bin/menuscripts/pomo index f210b82..ed64ce7 100755 --- a/bin/menuscripts/pomo +++ b/bin/menuscripts/pomo @@ -5,7 +5,7 @@ ### FUNCTIONS notif() { - herbe "pomo" "$1" & + herbe "_pomo" "$1" & sleep 1 pkill -SIGUSR1 herbe } @@ -59,14 +59,14 @@ for msg in "three" "two" "one"; do done while true; do - notif "START" + notif "*START" printf >&2 '%s S %s\n' "$(date '+%R')" "$round" sleep ${SLEEP_TIME}m if [ "$round" -eq 3 ]; then - ring_ring 20 "GIGA BREAK TIME" + ring_ring 20 "*GIGA BREAK TIME" round=0 else - ring_ring 5 "BREAK TIME" + ring_ring 5 "*BREAK TIME" round=$((round + 1)) fi done |