dunst icon indicating copy to clipboard operation
dunst copied to clipboard

Add setting for default icon

Open Garfax opened this issue 4 years ago • 3 comments

As far as I know, the only way to run dunstify without displaying an icon is to pass an icon name that does not exist in icon path i.e. dunstify -i blabla [...]. It would be convenient to have a defined arg to pass to dunstify in order to prevent the notification from displaying an icon, like dunstify -i NONE [...] or similar.

Garfax avatar Jun 14 '21 15:06 Garfax

Dunst now displays an icon anyways even if there was no icon passed via dunstify. You could change that in config.h and recompile dunst. dunstify -i NONE [...] would also work now, but I understand both solutions aren't the best.

I think it would be great to make the default icons configurable so that you can also set them to nothing. dunstify [...] would give no icon then, unless explicitly set. I don't thinks it's feasible to force dunst to display no icon when you want and display a default icon when you don't pass anything. This would require apps like notify-send and dunstify to send a default icon.

fwsmit avatar Jun 15 '21 22:06 fwsmit

I think it would be great to make the default icons configurable so that you can also set them to nothing. dunstify [...] would give no icon then, unless explicitly set.

Agreed! :)

Garfax avatar Jun 16 '21 12:06 Garfax

Alternatively some information about the default icon can be sent through a hint (-h string:icon:default)

bynect avatar Feb 21 '24 12:02 bynect