Skip to content

Instantly share code, notes, and snippets.

View samuel-stidham's full-sized avatar

Samuel Stidham samuel-stidham

View GitHub Profile
@samuel-stidham
samuel-stidham / pom.fish
Created February 24, 2026 07:18 — forked from bashbunni/pom.fish
Pomodoro CLI for Fish Shell
function pom
set split $POMO_SPLIT
if ! test -n "$split"
set split $(gum choose "25/5" "50/10" "all done" --header "Choose a pomodoro split.")
end
switch $split
case 25/5
set work 25m
set break 5m
@samuel-stidham
samuel-stidham / .zshrc
Created February 24, 2026 07:18 — forked from bashbunni/.zshrc
CLI Pomodoro for Mac
# I'll be doing another one for Linux, but this one will give you
# a pop up notification and sound alert (using the built-in sounds for macOS)
# Requires https://github.com/caarlos0/timer to be installed
# Mac setup for pomo
alias work="timer 60m && terminal-notifier -message 'Pomodoro'\
-title 'Work Timer is up! Take a Break 😊'\
-appIcon '~/Pictures/pumpkin.png'\
-sound Crystal"
@samuel-stidham
samuel-stidham / .zshrc
Created February 24, 2026 07:18 — forked from bashbunni/.zshrc
CLI Pomodoro for Linux (zsh)
# study stream aliases
# Requires https://github.com/caarlos0/timer to be installed. spd-say should ship with your distro
declare -A pomo_options
pomo_options["work"]="45"
pomo_options["break"]="10"
pomodoro () {
if [ -n "$1" -a -n "${pomo_options["$1"]}" ]; then
val=$1