Last active
July 28, 2016 18:44
-
-
Save catichenor/b70d0e36064c734c0f77edd9fa3595ac to your computer and use it in GitHub Desktop.
A simple Pomodoro timer for GNOME 3
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 | |
# Work for 25 minutes, break for 5 minutes. | |
while [ TRUE ]; do | |
echo "Worktime: The time is `date +%l:%M`" | |
notify-send "Work" "Time to start working." | |
sleep 1200 | |
echo "Worktime: 5 minutes left. The time is `date +%l:%M`" | |
notify-send "Work" "5 minutes left." | |
sleep 300 | |
echo "Breaktime: The time is `date +%l:%M`" | |
notify-send "Break" "Time for a break." | |
sleep 300 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment