Skip to content

Instantly share code, notes, and snippets.

@jingoro
Created May 7, 2013 03:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jingoro/5530121 to your computer and use it in GitHub Desktop.
Save jingoro/5530121 to your computer and use it in GitHub Desktop.
#!/bin/bash
# dependencies:
# sudo port install sox
TITLE="On the hour..."
MESSAGE="...where are you?"
SOUND="/System/Library/Sounds/Hero.aiff"
PLAY="/usr/bin/afplay"
GROWLNOTIFY="/usr/local/bin/growlnotify"
$GROWLNOTIFY -m "$MESSAGE" -t "$TITLE"
for (( c=1; c<=3; c++ )); do
$PLAY "$SOUND"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment