From 5eb394a24d3a623a12aba30b4524d02ec53f605f Mon Sep 17 00:00:00 2001 From: six Date: Tue, 6 May 2025 03:07:46 +0000 Subject: [PATCH] Gen6 Tea <3 --- zsh_files/gen6.zsh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/zsh_files/gen6.zsh b/zsh_files/gen6.zsh index 0aad298..5da56bf 100755 --- a/zsh_files/gen6.zsh +++ b/zsh_files/gen6.zsh @@ -45,3 +45,27 @@ function rnd { cat /dev/urandom | tr -dc _A-Z-a-z-0-9.,! | head -c${1:-64};echo; } + +# Gen6 Tea lovers, 2 minute timer with optional sound +function t2 { + local N=120 + while (( --N > 0 )); do + echo $N + sleep 1 + reset + done + echo "Time's up!" + #aplay /usr/share/sounds/ubuntu/stereo/bell.oga +} + + +# Gen6 Tea lovers, 3 minute timer with optional sound +function t3 { + local N=180 + while (( --N > 0 )); do + echo $N + sleep 1 + reset + done + #aplay /usr/share/sounds/ubuntu/stereo/bell.oga +}