scripts/misc/alert
2020-04-02 10:38:36 +02:00

7 lines
131 B
Bash
Executable file

#!/bin/zsh
time=$1; shift
(
echo "DISPLAY=$DISPLAY sm \"$@\"" | at $time
) &>/dev/null
echo "Alerting at $time on screen $DISPLAY"