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
This commit is contained in:
Daniel Eklöf 2024-07-30 17:16:02 +02:00
parent 0a5ba708e4
commit ba79bf1602
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 5 additions and 8 deletions

View file

@ -511,7 +511,7 @@ Note: do not set *TERM* here; use the *term* option in the main
action=default++
xdgtoken=95ebdfe56e4f47ddb5bba9d7dc3a2c35
Default: _notify-send --wait --app-name ${app-id} --icon ${icon} --urgency ${urgency} --action ${action-name}=${action-label} --print-id -- ${title} ${body}_.
Default: _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*
Command to execute to close an existing notification.