Skip to content

Instantly share code, notes, and snippets.

@kiri-thornalley
kiri-thornalley / .bashrc
Last active May 4, 2025 14:06 — forked from bashbunni/.zshrc
CLI Pomodoro for Linux (modified for WSL2 on Windows 10)
# 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"