aboutsummaryrefslogtreecommitdiff
path: root/misc/.local/bin/pomodoro
blob: a9cddb47f7eaff22153f31676028b265df548ce2 (plain) (blame)
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!"