Skip to content

wireplumber & backlight: fix states and support for microphone - #4319

Merged
Alexays merged 4 commits into
Alexays:masterfrom
M0streng0:master
Aug 8, 2025
Merged

wireplumber & backlight: fix states and support for microphone#4319
Alexays merged 4 commits into
Alexays:masterfrom
M0streng0:master

Conversation

@M0streng0

Copy link
Copy Markdown

In these two commits I’ve:

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-bluetooth support and open a follow‑up PR…

@M0streng0

M0streng0 commented Jul 23, 2025

Copy link
Copy Markdown
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 91e5737. I applied the identical patch, and the backlight module is now functioning correctly.

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
}

@M0streng0 M0streng0 changed the title wireplumber: fix states & support for microphone wireplumber & backlight: fix states and support for microphone Jul 23, 2025
@Alexays
Alexays merged commit b3fbe1b into Alexays:master Aug 8, 2025
8 of 9 checks passed
@Alexays

Alexays commented Aug 8, 2025

Copy link
Copy Markdown
Owner

Thanks!

@M0streng0

Copy link
Copy Markdown
Author

Hi! Thank you for the merge. I have also updated the wiki page to reflect the modifications implemented by this PR.

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.

2 participants