aboutsummaryrefslogtreecommitdiff
path: root/notify.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-10 17:06:24 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-10 17:06:24 +0000
commit03cbb6ad90045085442ac01e2bf4f63585809c1a (patch)
tree90b65a253890f586fd4b1630ffb5e1139a5ce631 /notify.h
parentosc: implement urxvt’s “OSC 777;notify” (diff)
notify: break out desktop notifications from osc.c
Diffstat (limited to 'notify.h')
-rw-r--r--notify.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/notify.h b/notify.h
new file mode 100644
index 00000000..ce60562f
--- /dev/null
+++ b/notify.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#include "terminal.h"
+
+void notify_notify(
+ const struct terminal *term, const char *title, const char *body);