From 472da12759cdb2e63520826add567da34376d15a Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sun, 8 Oct 2023 17:06:33 +0200 Subject: added countdown timer --- bin/extra/pomo | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'bin/extra') 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 "START" date +%R sleep 20m notify-send -u critical -t 5000 "pomodoro" "BREAK TIME" -- cgit v1.2.3