Skip to content

Instantly share code, notes, and snippets.

@nOBITa3001
Forked from bashbunni/.zshrc
Last active January 24, 2023 15:25
Show Gist options
  • Select an option

  • Save nOBITa3001/77d1183d7f1ced80235beb801b33ec74 to your computer and use it in GitHub Desktop.

Select an option

Save nOBITa3001/77d1183d7f1ced80235beb801b33ec74 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 below to be installed
# - https://github.com/caarlos0/timer
# - https://github.com/julienXX/terminal-notifier
# 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"
alias pomo="timer 25m && terminal-notifier -message 'Pomodoro'\
-title 'Time to focus is up! Take a Break - $ sbreak for 5m and $ lbreak for 15m 😊'\
-appIcon '~/Pictures/pumpkin.png'\
-sound Crystal"
alias sbreak="timer 5m && terminal-notifier -message 'Pomodoro'\
-title 'Short break is over! Get back to work - $ pomo for 25m focus time 😬'\
-appIcon '~/Pictures/pumpkin.png'\
-sound Crystal"
alias lbreak="timer 5m && terminal-notifier -message 'Pomodoro'\
-title 'Long break is over! Get back to work - $ pomo for 25m focus time 😬'\
-appIcon '~/Pictures/pumpkin.png'\
-sound Crystal"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment