Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.