ErikReider / SwayNotificationCenter

A simple GTK based notification daemon for SwayWM
GNU General Public License v3.0
1.41k stars 63 forks source link

[Feature] Do not show notification count when there are no notifications present. #479

Closed velen2077 closed 2 months ago

velen2077 commented 2 months ago

At present, when using the 'format' attribute to define a count and an icon, such as "format": "{} {icon}",, the count is shown even when the count is zero.

It would be useful to have a default setting of no count shown in the event of zero. It seems as though format-icons doesn't support the {} setting for showing count, so I don't think this can currently be achieved by customising the default icon and text for each specific event such as 'notificiation', 'none', 'dnd-none' and 'dnd-notification'.

velen2077 commented 2 months ago

As soon as I posted this, I realised that this is most likely a Waybar feature request. I'll close with comment.