config: notify: change default value to use ${app-id}

Make the default value of ‘notify’ use ${app-id} for icon and
application name.
This commit is contained in:
Daniel Eklöf 2021-05-27 11:41:57 +02:00
parent 246c7ffc0f
commit f9a13e2eec
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 8 additions and 6 deletions

View file

@ -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;