Skip to content

Instantly share code, notes, and snippets.

@dayvough
Created September 27, 2016 06:59
Show Gist options
  • Save dayvough/4c679e4735f42f67d10ad740611e6238 to your computer and use it in GitHub Desktop.
Save dayvough/4c679e4735f42f67d10ad740611e6238 to your computer and use it in GitHub Desktop.
Pomodoro Timer in bash
#!/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