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