The wpctl-based mic toggle lost the volume bar the native swayosd input OSD used to draw -- it only showed an icon + text. swayosd 0.3.x exposes --custom-progress (0.0-1.0), so read the level back from wpctl after the toggle and render icon + bar (muted/active glyph via --custom-icon), matching the output-volume OSD. Parsing is pure bash builtins so the script needs no PATH beyond the two pinned tools. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
7.4 KiB
7.4 KiB