Last active
October 25, 2020 22:34
-
-
Save lwilli/c012973e67ef32393a5f85f6a25729ec to your computer and use it in GitHub Desktop.
A simple Mac script for 20-20-20 rule reminders
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 | |
while : | |
do | |
sleep 1200 | |
osascript -e 'display notification "" with title "Take a 20 second break."' | |
sleep 20 | |
osascript -e 'display notification "" with title "Break time is over!"' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For a smarter and more elegant solution, check out the Mac menu bar app: 202020 Timer.