dots


commit
545e4fd
parent
f428b0e
author
xxwhirlpool
date
2025-06-05 08:16:18 -0400 EDT
add custom arg to pomodoro
1 files changed,  +7, -0
M config/.local/bin/pomodoro
+7, -0
 1@@ -22,6 +22,13 @@ elif [ "$1" == "break" ]; then
 2 	timer "20m"
 3 	notify-send "'$val' session done"
 4 	spd-say -t female3 -r +35 "'$val' session done"
 5+elif [ "$1" == "custom" ]; then
 6+	val=$1
 7+	choice=$(gum input --placeholder duration | awk '{print $0"m"}' )
 8+	echo -e "⏱️ $val: $choice ‧₊˚🌈✩ ₊˚🫧⊹♡" | lolcat -p 0.2
 9+	timer "$choice"
10+	notify-send "'$val' session done"
11+	spd-say -t female3 -r +35 "'$val' session done"
12 else
13 	echo -n "something failed"
14 fi