summaryrefslogtreecommitdiff
path: root/bin/extra
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-10-08 17:06:33 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-10-08 17:06:33 +0200
commit472da12759cdb2e63520826add567da34376d15a (patch)
tree4cc48633baeb3793e0942ef02c468ff401771e76 /bin/extra
parent094e27c01c3c501a6030ebaab1f87dfddf03375e (diff)
added countdown timer
Diffstat (limited to 'bin/extra')
-rwxr-xr-xbin/extra/pomo10
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"