From 4185a9b7ef76d686af011c8f66c14150add04426 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 15 Aug 2024 13:24:47 +0200 Subject: checkpoint --- bin/menuscripts/pomo | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/menuscripts/pomo b/bin/menuscripts/pomo index eb4c30b..f210b82 100755 --- a/bin/menuscripts/pomo +++ b/bin/menuscripts/pomo @@ -1,5 +1,8 @@ #!/bin/sh +# time in minutes of one pomodoro +[ "$SLEEP_TIME" ] || SLEEP_TIME=25 + ### FUNCTIONS notif() { herbe "pomo" "$1" & @@ -58,7 +61,7 @@ done while true; do notif "START" printf >&2 '%s S %s\n' "$(date '+%R')" "$round" - sleep 25m + sleep ${SLEEP_TIME}m if [ "$round" -eq 3 ]; then ring_ring 20 "GIGA BREAK TIME" round=0 -- cgit v1.2.3