aboutsummaryrefslogtreecommitdiff
path: root/notify.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-02-06 12:50:38 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-02-06 12:50:38 +0000
commit0b95e720739cce46df47972895e86eeb91fbc109 (patch)
treefff232f14e2cc0236772330f2ae7b3da378e05dd /notify.c
parentterm: drop term->render.title.is_armed (diff)
parentchangelog: OSC-176 - set app-id (diff)
Merge branch 'app-id'
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notify.c b/notify.c
index 04427477..7a208479 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;