summaryrefslogtreecommitdiff
path: root/bin/extra/pomo
diff options
context:
space:
mode:
Diffstat (limited to 'bin/extra/pomo')
-rwxr-xr-xbin/extra/pomo13
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