Created
December 30, 2016 02:54
-
-
Save mrrusof/30df845e29169c0c45910af3fe94d0c1 to your computer and use it in GitHub Desktop.
Poor man's pomodoro timer for OS X (or oxymoronic pomodoro timer)
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
| alias timesup='osascript -e "tell application (path to frontmost application as text) to display dialog \"Time is up!\" buttons {\"OK\"} with icon stop"' | |
| alias pomodoro-regular="i=0; while [ \$i -lt 25 ]; do sleep 60; (( i = i + 1 )); echo \$i minutes elapsed; done; timesup" | |
| alias pomodoro-break="i=0; while [ \$i -lt 5 ]; do sleep 60; (( i = i + 1 )); echo \$i minutes elapsed; done; timesup" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment