diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-08 17:07:02 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-08 17:07:02 +0200 |
commit | f69263dc091c6a61011af9e5f3684d2895b49795 (patch) | |
tree | 67220a5f652498af9b08dd6f7534ea7c940e6e02 | |
parent | 472da12759cdb2e63520826add567da34376d15a (diff) |
added bigger break after four cycles
-rwxr-xr-x | bin/extra/pomo | 13 |
1 files 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 "<b>START</b>" 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 |