summary refs log tree commit diff
path: root/.config/senpai/highlight
diff options
context:
space:
mode:
Diffstat (limited to '.config/senpai/highlight')
-rwxr-xr-x.config/senpai/highlight9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/senpai/highlight b/.config/senpai/highlight
new file mode 100755
index 0000000..3f2f3e9
--- /dev/null
+++ b/.config/senpai/highlight
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -ex
+escape() {
+	printf "%s" "$1" | sed 's#\\#\\\\#g'
+}
+
+fyi -a senpai -i senpai -c reminder \
+	"[$BUFFER] $SENDER" \
+	"$(escape "$MESSAGE")"