mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
notify: add ${window-title}
This commit is contained in:
parent
ef4dc4bb7c
commit
f1d75a1e1f
3 changed files with 9 additions and 3 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, 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue