mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-26 06:46:45 -04:00
use the current app ID in notification templates
This commit is contained in:
parent
0568c7d0ad
commit
f4dd7a7878
1 changed files with 1 additions and 1 deletions
2
notify.c
2
notify.c
|
|
@ -36,7 +36,7 @@ notify_notify(const struct terminal *term, const char *title, const char *body)
|
|||
if (!spawn_expand_template(
|
||||
&term->conf->notify, 4,
|
||||
(const char *[]){"app-id", "window-title", "title", "body"},
|
||||
(const char *[]){term->conf->app_id, term->window_title, title, body},
|
||||
(const char *[]){term->app_id ? term->app_id : term->conf->app_id, term->window_title, title, body},
|
||||
&argc, &argv))
|
||||
{
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue