Commit 545e4fd

xxwhirlpool  ·  2025-06-05 08:16:18 -0400 EDT
parent f428b0e
add custom arg to pomodoro
1 files changed,  +7, -0
+7, -0
......@@ -22,6 +22,13 @@ elif [ "$1" == "break" ]; then
2222 timer "20m"
2323 notify-send "'$val' session done"
2424 spd-say -t female3 -r +35 "'$val' session done"
25+elif [ "$1" == "custom" ]; then
26+ val=$1
27+ choice=$(gum input --placeholder duration | awk '{print $0"m"}' )
28+ echo -e "⏱️ $val: $choice ‧₊˚🌈✩ ₊˚🫧⊹♡" | lolcat -p 0.2
29+ timer "$choice"
30+ notify-send "'$val' session done"
31+ spd-say -t female3 -r +35 "'$val' session done"
2532 else
2633 echo -n "something failed"
2734 fi