[GH-ISSUE #1307] Volume: separate format and CSS selector if muted #397

Open
opened 2026-05-22 21:53:09 +01:00 by JakeStanger · 2 comments
Owner

Originally created by @Diax170 on GitHub (Dec 26, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1307

Describe the solution you'd like

  1. a CSS selector for muted volume like .volume#muted or .volume .muted or .volume.muted so I could make it greyed out when muted
  2. a separate format-muted field in the config that overrides format when the sink is muted so I can for example hide the percentage when muted

Describe alternatives you've considered
using Waybar's wireplumber or pulseaudio which support both options (CSS under #wireplumber.muted or #pulseaudio.muted, config under format-muted)

Originally created by @Diax170 on GitHub (Dec 26, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1307 **Describe the solution you'd like** 1. a CSS selector for muted volume like `.volume#muted` or `.volume .muted` or `.volume.muted` so I could make it greyed out when muted 2. a separate `format-muted` field in the config that overrides `format` when the sink is muted so I can for example hide the percentage when muted **Describe alternatives you've considered** using Waybar's [wireplumber](https://man.archlinux.org/man/waybar-wireplumber.5.en) or [pulseaudio](https://man.archlinux.org/man/waybar-pulseaudio.5.en) which support both options (CSS under `#wireplumber.muted` or `#pulseaudio.muted`, config under `format-muted`)
Author
Owner

@postsolar commented on GitHub (Dec 26, 2025):

Not to disagree with the need for it, but another alternative is to use dynamic classes with a volume monitoring scriptlet: https://github.com/JakeStanger/ironbar/wiki/ipc#toggle_class

<!-- gh-comment-id:3693322247 --> @postsolar commented on GitHub (Dec 26, 2025): Not to disagree with the need for it, but another alternative is to use dynamic classes with a volume monitoring scriptlet: https://github.com/JakeStanger/ironbar/wiki/ipc#toggle_class
Author
Owner

@Diax170 commented on GitHub (Dec 26, 2025):

similar thing would be nice to have for the Music module, so you could have classes like .playing .stopped .paused etc.

<!-- gh-comment-id:3693328856 --> @Diax170 commented on GitHub (Dec 26, 2025): similar thing would be nice to have for the Music module, so you could have classes like .playing .stopped .paused etc.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#397
No description provided.