Skip to content

Additional options when muted for the PulseAudio-Slider module#5045

Open
finitemonkey wants to merge 1 commit into
Alexays:masterfrom
finitemonkey:master
Open

Additional options when muted for the PulseAudio-Slider module#5045
finitemonkey wants to merge 1 commit into
Alexays:masterfrom
finitemonkey:master

Conversation

@finitemonkey
Copy link
Copy Markdown

Hi, this change would add the following:

  • A "muted" class for styling the muted state of the PulseAudio-Slider module.
  • A "zero-on-mute" boolean option to control slider position when muted.
  • A "unmute-on-volume-change" boolean option to control whether to automatically unmute when the slider is changed.

The reason for wanting it is that I am using the PulseAudio module next to the PulseAudio-Slider module, in order to have both a numerical display with clickable area and also a slider. These changes enable that combination to be styled appropriately in the muted state.

Example:
waybar-pa-slider-example

@finitemonkey finitemonkey force-pushed the master branch 3 times, most recently from 7dbd291 to 78be690 Compare May 17, 2026 07:20
- Add "muted" class for styling the muted state.
- Add "zero-on-mute" boolean option to control slider position
  when muted.
- Add "unmute-on-volume-change" boolean option to control whether
  to automatically unmute when the volume changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant