scripts/misc/alert

8 lines
139 B
Bash
Executable file

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