This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requires https://github.com/caarlos0/timer to be installed. | |
# Requires Burnt Toast to be installed in Powershell. (https://github.com/Windos/BurntToast/tree/main) | |
# Modifcations from original gist (https://gist.github.com/bashbunni/3880e4194e3f800c4c494de286ebc1d7) by @bashbunni | |
# 1. spd-say removed and replaced with Burnt Toast for pop-up and audio notifications via Powershell. | |
# 2. Original pomodoro() function replaced with one that loops between work block and long/short break. | |
declare -A pomo_options | |
pomo_options["work"]="50" | |
pomo_options["break"]="10" |