Skip to content

Instantly share code, notes, and snippets.

@danielribeiro
Forked from rmasoni/gist:6441804
Last active August 29, 2015 14:19
Show Gist options
  • Save danielribeiro/9779783deab97485adf4 to your computer and use it in GitHub Desktop.
Save danielribeiro/9779783deab97485adf4 to your computer and use it in GitHub Desktop.
function pomodoro {
case $1 in
start )
echo 'terminal-notifier -title "🍅 Pomodoro Done" -message "Starting short break…"' | at + 25 minutes &> /dev/null
;;
break )
echo 'terminal-notifier -title "⌛ Short Break Done" -message "Start your next Pomodoro."' | at + 5 minutes &> /dev/null
;;
esac
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment