From f9a13e2eec2c98c8853073607347f65f4291a7e5 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 27 May 2021 11:41:57 +0200 Subject: config: notify: change default value to use ${app-id} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make the default value of ‘notify’ use ${app-id} for icon and application name. --- notify.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'notify.c') 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; -- cgit v1.3