Skip to content

Instantly share code, notes, and snippets.

View brianbert's full-sized avatar
😐
I may be slow to respond.

Brian Bert brianbert

😐
I may be slow to respond.
  • La Plata
View GitHub Profile
@brianbert
brianbert / .zshrc
Last active March 3, 2023 01:40 — forked from bashbunni/.zshrc
CLI Pomodoro for Linux (with loop, notifications and terminal commands!)
declare -A pomo_options
pomo_options["work"]="0.5"
pomo_options["break"]="0.5"
pomodoro() {
val=$1
echo $val | lolcat
timer ${pomo_options["$val"]}m
spd-say "'$val' session done"
notify-send --app-name=Pomodoro🍅 "'$val' session done 🍅"