aboutsummaryrefslogtreecommitdiff
path: root/notify.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-27 09:53:05 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-05-27 09:53:05 +0000
commitef4dc4bb7c015536c7e994c8f27e26ff72e0ff8f (patch)
treee0cf3da7a8f0b84051d7a5b2ecc3e9042581f188 /notify.c
parentreadme: add OSC 8, 17, 19, 117, 119 and 777 to list of supported OSC (diff)
parentconfig: notify: change default value to use ${app-id} (diff)
Merge branch 'app-id-in-notify'
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/notify.c b/notify.c
index 3f36e904..c51dcf68 100644
--- a/notify.c
+++ b/notify.c
@@ -34,9 +34,9 @@ notify_notify(const struct terminal *term, const char *title, const char *body)
size_t argc = 0;
if (!spawn_expand_template(
- &term->conf->notify, 2,
- (const char *[]){"title", "body"},
- (const char *[]){title, body},
+ &term->conf->notify, 3,
+ (const char *[]){"app-id", "title", "body"},
+ (const char *[]){term->conf->app_id, title, body},
&argc, &argv))
{
return;