adventofcode/sbin/timer

12 lines
150 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
TIME=1
if [[ $# -ne 0 ]]; then
TIME=$1
fi
sleep ${TIME}m
notify-send -i $AOCROOT/favicon.png "Timer has expired"
echo "Done Waiting"