1 2 3 4 5 6 7
#!/bin/bash # Simple pomodoro timer. # Send a notification after a given number of minutes TIME=$1 sleep $((TIME * 60)) && notify-send --urgency=critical --app-name="Pomodoro" --icon="$HOME/imgs/icons/pomodoro.png" "Time for a break!"