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

6 lines
169 B
Bash
Executable file

#!/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"