wireplumber & backlight: fix states and support for microphone - #4319
Merged
Conversation
Author
|
While reconfiguring the backlight module, I discovered it suffers from the same issue as the wireplumber module - the very one I resolved in commit There may be other modules affected by this same bug; I’ll investigate those later. Below is the configuration I’m using for this module (backlight). "backlight": {
"format-0-9": " [░░░░░░░░░░]{percent:>3d}%",
"format-10-19": " [█░░░░░░░░░]{percent:>3d}%",
"format-20-29": " [██░░░░░░░░]{percent:>3d}%",
"format-30-39": " [███░░░░░░░]{percent:>3d}%",
"format-40-49": " [████░░░░░░]{percent:>3d}%",
"format-50-59": " [█████░░░░░]{percent:>3d}%",
"format-60-69": " [██████░░░░]{percent:>3d}%",
"format-70-79": " [███████░░░]{percent:>3d}%",
"format-80-89": " [████████░░]{percent:>3d}%",
"format-90-99": " [█████████░]{percent:>3d}%",
"format-100": " [██████████]{percent:>3d}%",
"states": {
"0-9": 0,
"10-19": 10,
"20-29": 20,
"30-39": 30,
"40-49": 40,
"50-59": 50,
"60-69": 60,
"70-79": 70,
"80-89": 80,
"90-99": 90,
"100": 100
},
"tooltip": false
} |
Owner
|
Thanks! |
Author
|
Hi! Thank you for the merge. I have also updated the wiki page to reflect the modifications implemented by this PR. |
This was referenced Aug 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In these two commits I’ve:
stateswere not updating (see issue wireplumber states not working #3672).format-sourceandformat-source-mutedjust like with the PulseAudio module. (issue Wireplumber: show source volume #3983).This feature has been on my wishlist for a long time, and since there hadn’t been any movement on it, I took some free time to dive into the code and implement it. I hope it aligns with Alexis’s coding style!
For PipeWire users, it’s much better to use the WirePlumber protocol directly rather than routing through PulseAudio (which was my previous approach).
Later on I might tackle the
format-bluetoothsupport and open a follow‑up PR…