Skip to content

Instantly share code, notes, and snippets.

@yorickpeterse
Created July 16, 2013 09:14
Show Gist options
  • Save yorickpeterse/6007160 to your computer and use it in GitHub Desktop.
Save yorickpeterse/6007160 to your computer and use it in GitHub Desktop.
Poor man's Pomodoro timer.
#!/usr/bin/env bash
time=1500 # 25 minutes
title="Pomodoro"
icon=/home/yorickpeterse/Pictures/icons/tomato.png
notify-send -i "$icon" "$title" "Starting a new Pomodoro timer"
sleep $time
notify-send -u critical -t 60000 -i "$icon" "$title" "Take a break you nerd!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment