-
-
Save takmatsukawa/4dd0c3cf76e7ad7ad63dce3554d49cb1 to your computer and use it in GitHub Desktop.
CLI Pomodoro for Mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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