Skip to content

fix: reliable mic mute fallback using wpctl#5540

Closed
SolarSpectre wants to merge 1 commit intobasecamp:devfrom
SolarSpectre:fix/mic-mute-fallback
Closed

fix: reliable mic mute fallback using wpctl#5540
SolarSpectre wants to merge 1 commit intobasecamp:devfrom
SolarSpectre:fix/mic-mute-fallback

Conversation

@SolarSpectre
Copy link
Copy Markdown

Problem

On non-XPS/ThinkPad systems, omarchy-audio-input-mute still fell back to swayosd-client --input-volume mute-toggle. That command can exit successfully while leaving the microphone mute state unchanged on PipeWire/PulseAudio setups.

Solution

Use wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle for the actual mute toggle, then query pactl get-source-mute @DEFAULT_SOURCE@ for the resulting state and use omarchy-swayosd-client only for the OSD message/icon.

Verification

  • bash -n bin/omarchy-audio-input-mute
  • Fake wpctl/pactl harness confirmed the generic branch toggles muted/unmuted state and shows the expected OSD message/icon.

References

Copilot AI review requested due to automatic review settings May 2, 2026 00:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dhh
Copy link
Copy Markdown
Member

dhh commented May 2, 2026

Sorted via 241145f

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.

3 participants