I've included your patch in notify-osd trunk. Furthermore we also added this suggested layout-fallback-behaviour to the notify-osd spec. A little correction on your provided test-cases. The first one should read:
notify-send "Icon" "Only" -i notification-keyboard-brightness-high -h string:x-canonical-private-icon-only:
(should result in an icon-only bubble with the full keyboard-brightness icon)
The second one should read:
notify-send "No" "Display" -h string:x-canonical-private-icon-only:
(should result in an summary-body bubble)
I've included your patch in notify-osd trunk. Furthermore we also added this suggested layout- fallback- behaviour to the notify-osd spec. A little correction on your provided test-cases. The first one should read:
notify-send "Icon" "Only" -i notification- keyboard- brightness- high -h string: x-canonical- private- icon-only:
(should result in an icon-only bubble with the full keyboard-brightness icon)
The second one should read: x-canonical- private- icon-only:
notify-send "No" "Display" -h string:
(should result in an summary-body bubble)