dots-of-war/eggs/scripts/timer.sh

7 lines
169 B
Bash
Raw Permalink Normal View History

2024-12-05 21:10:22 +00:00
#!/bin/dash
if [ -z "$1" ]; then
echo "timer.sh <time>"
exit 1
fi
termdown -o /home/leon/scripts/remainingTime.txt "$1" && notify-send "Timer" "Timer finished: $1"