Skip to content

Instantly share code, notes, and snippets.

@AlgusDark
Forked from bashbunni/.zshrc
Created February 6, 2023 07:21
Show Gist options
  • Save AlgusDark/129004a192b155988ea3d4c2f0f039d6 to your computer and use it in GitHub Desktop.
Save AlgusDark/129004a192b155988ea3d4c2f0f039d6 to your computer and use it in GitHub Desktop.
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"
alias rest="timer 10m && terminal-notifier -message 'Pomodoro'\
-title 'Break is over! Get back to work 😬'\
-appIcon '~/Pictures/pumpkin.png'\
-sound Crystal"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment