aboutsummaryrefslogtreecommitdiff
path: root/notify.c
diff options
context:
space:
mode:
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 c51dcf68..e4f0ad14 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, 3,
- (const char *[]){"app-id", "title", "body"},
- (const char *[]){term->conf->app_id, title, body},
+ &term->conf->notify, 4,
+ (const char *[]){"app-id", "window-title", "title", "body"},
+ (const char *[]){term->conf->app_id, term->window_title, title, body},
&argc, &argv))
{
return;