From f69263dc091c6a61011af9e5f3684d2895b49795 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sun, 8 Oct 2023 17:07:02 +0200 Subject: added bigger break after four cycles --- bin/extra/pomo | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/bin/extra/pomo b/bin/extra/pomo index fa14cca..2627628 100755 --- a/bin/extra/pomo +++ b/bin/extra/pomo @@ -5,12 +5,21 @@ for msg in "three" "two" "one" do notif "$msg" done +i="${1-0}" while true do notif "START" date +%R sleep 20m - notify-send -u critical -t 5000 "pomodoro" "BREAK TIME" - sleep 5m + if [ "$i" -eq 3 ] + then + i=-1 + notify-send -u critical -t 20000 "pomodoro" "GIGA BREAK TIME" + sleep 20m + else + notify-send -u critical -t 5000 "pomodoro" "BREAK TIME" + sleep 5m + fi + i=$((i+1)) done -- cgit v1.2.3