mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-16 05:34:00 -04:00
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:
parent
246c7ffc0f
commit
f9a13e2eec
5 changed files with 8 additions and 6 deletions
6
notify.c
6
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue