diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-09 14:58:43 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-09 14:58:43 +0200 |
commit | 9001cd2124c665abcedf359ef77507e301ea9e8e (patch) | |
tree | eeefbf22a273aedf030967e52c7c9203a9ef4ff8 /bin/extra | |
parent | 171ea6ca8655a7e1831e6b89af70147246c376cf (diff) |
fixed: notification not staying long enough
changed the delay from seconds to minutes through multiplying by 60.
Diffstat (limited to 'bin/extra')
-rwxr-xr-x | bin/extra/pomo | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/extra/pomo b/bin/extra/pomo index 2627628..0971343 100755 --- a/bin/extra/pomo +++ b/bin/extra/pomo @@ -14,12 +14,12 @@ do sleep 20m if [ "$i" -eq 3 ] then - i=-1 - notify-send -u critical -t 20000 "pomodoro" "GIGA BREAK TIME" + notify-send -u critical -t 1200000 "pomodoro" "GIGA BREAK TIME" sleep 20m + i=0 else - notify-send -u critical -t 5000 "pomodoro" "BREAK TIME" + notify-send -u critical -t 300000 "pomodoro" "BREAK TIME" sleep 5m + i=$((i+1)) fi - i=$((i+1)) done |