Added new reconcile and pom scripts

This commit is contained in:
Random936
2026-03-28 17:33:57 -04:00
parent 5c36c869cd
commit bc58d71ed5
3 changed files with 31 additions and 1 deletions

18
prod/pom.sh Normal file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
cycle_raw=$(gum choose --header="Choose your pomodoro cycle for work/break." "50/10" "25/5")
work_time=$(echo "$cycle_raw" | cut -d/ -f 1)
break_time=$(echo "$cycle_raw" | cut -d/ -f 2)
while true; do
timer "${work_time}m"
if gum confirm "Do you want to take a break?"; then
timer "${break_time}m"
fi
if ! gum confirm "Do you want to resume working?"; then
break
fi
done