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

8 lines
167 B
Bash
Raw Normal View History

2020-10-30 22:02:38 +02:00
#! /bin/sh
[ -z "$1" ] && \
echo "timer.sh <time>" && \
2020-06-21 12:41:26 +02:00
exit 1
2020-10-30 22:02:38 +02:00
2020-06-21 12:41:26 +02:00
termdown -o /home/leon/scripts/remainingTime.txt "$1" && notify-send "Timer" "Timer finished: $1"