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

7 lines
169 B
Bash
Raw Normal View History

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