diff options
Diffstat (limited to 'bin/menuscripts')
| -rwxr-xr-x | bin/menuscripts/pomo | 5 | 
1 files changed, 4 insertions, 1 deletions
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  | 
