Skip to content

Instantly share code, notes, and snippets.

@pauljacobson
Forked from bashbunni/.zshrc
Created January 19, 2023 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pauljacobson/b177eca34d6dccd0e5855c18f93c6d4b to your computer and use it in GitHub Desktop.
Save pauljacobson/b177eca34d6dccd0e5855c18f93c6d4b 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