Last active
October 19, 2016 05:59
-
-
Save padi/0fc700e2c3573e230a00e27b7f9d5da1 to your computer and use it in GitHub Desktop.
pomo.sh stupidly simple pomodoro on macOS if you just want something to notify you after 25 minutes then 5 minutes after
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
#!/bin/bash | |
osascript -e "display notification with title \"Start Pomodoro!\" sound name \"Hero.aiff\"" && \ | |
(sleep 1500 | pv --timer) && \ | |
osascript -e "display notification with title \"Pomodoro Break!\" sound name \"Hero.aiff\"" && \ | |
(sleep 300 | pv --timer) && \ | |
# (sleep 900 | pv --timer) &&\ # 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