polybar / polybar/polybar-scripts

pipewire-microphone script is broken

Open
#436 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
Shell
Stars
2.6k
Forks
331
PR merge metrics
No merged PRs in 30d

Description

I'd be forever grateful if someone could make it so the microphone module for pipewire isn't broken.
it is rather troublesome to check everytime on audio settings if my source is muted or not. This is fundamentally what's broken and not the muting script.
My guess as to why is pw-cat not having the "--record --list-targets" command anymore - it prints the help menu on the bar instead.
I can't code for shit and wanted to fix it myself, but I was unable to.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the pipewire-microphone script and reproducing its pw-cat invocation, especially the --record --list-targets command mentioned in the report. Check how the command's output is rendered in the bar. Done means the microphone module no longer displays pw-cat help text and accurately indicates whether the source is muted.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.