From f4dd7a7878db7c4a6b1a1093a17b66cd35aa2fb4 Mon Sep 17 00:00:00 2001 From: delthas Date: Wed, 6 Sep 2023 18:33:46 +0200 Subject: [PATCH] use the current app ID in notification templates --- notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notify.c b/notify.c index 8180477d..ca61507b 100644 --- a/notify.c +++ b/notify.c @@ -36,7 +36,7 @@ notify_notify(const struct terminal *term, const char *title, const char *body) if (!spawn_expand_template( &term->conf->notify, 4, (const char *[]){"app-id", "window-title", "title", "body"}, - (const char *[]){term->conf->app_id, term->window_title, title, body}, + (const char *[]){term->app_id ? term->app_id : term->conf->app_id, term->window_title, title, body}, &argc, &argv)) { return;