From 2a92acd85b033f8478cc83d54360022fc49fbeeb Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 2 Sep 2017 19:11:12 +0200 Subject: [PATCH] Add os/+arch/bin/remind script --- os/+arch/bin/remind | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 os/+arch/bin/remind diff --git a/os/+arch/bin/remind b/os/+arch/bin/remind new file mode 100755 index 00000000..6e3dda8c --- /dev/null +++ b/os/+arch/bin/remind @@ -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 $@