Created
September 27, 2016 06:59
-
-
Save dayvough/4c679e4735f42f67d10ad740611e6238 to your computer and use it in GitHub Desktop.
Pomodoro Timer in bash
This file contains 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
#!/bin/bash | |
osascript -e "display notification with title \"Start Pomodoro!\" sound name \"Hero.aiff\"" && \ | |
sleep 1500 && \ | |
osascript -e "display notification with title \"Pomodoro Break!\" sound name \"Hero.aiff\"" && \ | |
sleep 300 && \ | |
# sleep 900 && \ # Uncomment for long breaks; | |
osascript -e "display notification with title \"Pomodoro Break Done!\" sound name \"Hero.aiff\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment