Commit d979f56

xxwhirlpool  ·  2025-08-11 10:13:24 -0400 EDT
parent 7e7bbde
add mini timer
1 files changed,  +15, -0
+15, -0
......@@ -0,0 +1,15 @@
1+#!/bin/bash
2+
3+notif() {
4+ notify-send "'$time' timer done!"
5+ spd-say -t female3 -r +25 "timer done!"
6+}
7+
8+if [[ ! "$1" =~ "m" ]]; then
9+ echo "add a time or a time unit (m for minutes)"
10+else
11+ time="$1"
12+ echo -e "$time: 🌈✩₊˚.⋆⋆⁺₊✧🦋" | lolcat -p 0.2
13+ timer "$time"
14+ notif
15+fi