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

@ -2574,7 +2574,7 @@ config_load(struct config *conf, const char *conf_path,
}
conf->notify.raw_cmd = xstrdup(
"notify-send -a foot -i foot ${title} ${body}");
"notify-send -a ${app-id} -i ${app-id} ${title} ${body}");
tokenize_cmdline(conf->notify.raw_cmd, &conf->notify.argv);
conf->url.launch.raw_cmd = xstrdup("xdg-open ${url}");