Add os/+arch/bin/remind script
This commit is contained in:
parent
9f798429bc
commit
2a92acd85b
9
os/+arch/bin/remind
Executable file
9
os/+arch/bin/remind
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
if ! pgrep atd >/dev/null; then
|
||||||
|
>&2 echo "atd isn't running"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
msg=$1
|
||||||
|
shift
|
||||||
|
echo "notify-send 'Reminder' '$msg'" | at $@
|
Loading…
Reference in a new issue