#!/usr/bin/env ruby
#
# Pomodoro script.
#
# Displays a notification after 25 minutes.
#
# Don't forget to 'sudo apt-get install libnotify-bin'
#

system "notify-send -i face-cool 'Go go go!'"

25.times do |n|
  puts 25 - n
  sleep 60
end

system "notify-send -i face-cool -t 0 'End of Pomodoro!'"