From ba79bf1602c93ebf357f1b9c95f42b2fc0372fc8 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 30 Jul 2024 17:16:02 +0200 Subject: notify: ${icon}: don't fallback to app-id * Revert --icon to ${app-id} * Use --hint STRING:image-path:${icon} instead * ${icon} no longer expands to ${app-id} if notification has no icon --- foot.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'foot.ini') diff --git a/foot.ini b/foot.ini index cead651a..aeda18df 100644 --- a/foot.ini +++ b/foot.ini @@ -47,7 +47,7 @@ # command-focused=no [desktop-notifications] -# command=notify-send --wait --app-name ${app-id} --icon ${icon} --urgency ${urgency} --action ${action-name}=${action-label} --print-id -- ${title} ${body} +# command=notify-send --wait --app-name ${app-id} --icon ${app-id} --urgency ${urgency} --hint STRING:image-path:${icon} --action ${action-name}=${action-label} --print-id -- ${title} ${body} # close="" # inhibit-when-focused=yes -- cgit v1.3