From 791fe7d02cd117f12c5f1473f408ea67c5f2338e Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Mon, 16 Oct 2023 12:07:51 +0200 Subject: removed pomo --- bin/extra/pomo | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100755 bin/extra/pomo (limited to 'bin') diff --git a/bin/extra/pomo b/bin/extra/pomo deleted file mode 100755 index a2c371d..0000000 --- a/bin/extra/pomo +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -notif() { notify-send -t 1000 -w "pomo" "$1"; } - -for msg in "three" "two" "one" -do notif "$msg" -done - -# $1: time in minutes -# $2: msg for notification -ring_ring() -{ - date '+%R B' - notify-send -w "$(($1*1000*60))" -u critical "pomo" "$2" -} - -i="${1-0}" -while true - -do - notif "START" - date '+%R S' - sleep 20m - if [ "$i" -eq 3 ] - then - i=0 - ring_ring 20 "GIGA BREAK TIME" - else - ring_ring 5 "BREAK TIME" - i=$((i+1)) - fi -done -- cgit v1.2.3