diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-08 17:06:33 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-08 17:06:33 +0200 |
commit | 472da12759cdb2e63520826add567da34376d15a (patch) | |
tree | 4cc48633baeb3793e0942ef02c468ff401771e76 | |
parent | 094e27c01c3c501a6030ebaab1f87dfddf03375e (diff) |
added countdown timer
-rwxr-xr-x | bin/extra/pomo | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bin/extra/pomo b/bin/extra/pomo index 4227738..fa14cca 100755 --- a/bin/extra/pomo +++ b/bin/extra/pomo @@ -1,6 +1,14 @@ #!/bin/sh +notif() { notify-send -t 1000 "pomo" "$1"; sleep 1; } + +for msg in "three" "two" "one" +do notif "$msg" +done + while true -do + +do + notif "<b>START</b>" date +%R sleep 20m notify-send -u critical -t 5000 "pomodoro" "BREAK TIME" |