summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2020-11-15 23:45:30 +0500
committerAnton Bobov <abobov@gmail.com>2020-11-15 23:45:30 +0500
commita451afe3f0089eac899d3885c6caeebe8ea5de79 (patch)
tree15700d116759560929bec61e8e2aebdc3db730fc
parent592e478bc82660651e45c384817e694ca750f5ab (diff)
Added remind daemon script.
-rwxr-xr-xremind-daemon5
1 files changed, 5 insertions, 0 deletions
diff --git a/remind-daemon b/remind-daemon
new file mode 100755
index 0000000..989a992
--- /dev/null
+++ b/remind-daemon
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+rem -z -k'notify-send --expire-time=0 --icon x-office-calendar Reminder "%s" &' || \
+ notify-send --urgency=critical --expire-time=0 Reminder "Daemon failed with code: $?"
+