scripts/misc/alert

8 lines
139 B
Plaintext
Raw Normal View History

2020-04-02 08:38:36 +00:00
#!/bin/zsh
#dep:at
2020-04-02 08:38:36 +00:00
time=$1; shift
(
echo "DISPLAY=$DISPLAY sm \"$@\"" | at $time
) &>/dev/null
echo "Alerting at $time on screen $DISPLAY"