Skip to content

feat(audio): Accept an optional sink name for output volume - #8096

Open
tyvsmith wants to merge 1 commit into
omacom:quattrofrom
tyvsmith:audio-output-volume-optional-sink
Open

tyvsmith wants to merge 1 commit into
omacom:quattrofrom
tyvsmith:audio-output-volume-optional-sink

Conversation

@tyvsmith

@tyvsmith tyvsmith commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor
  • accept an optional sink name as the second argument to omarchy-audio-output-volume
  • forward it to omarchy-audio-output-sink, which already documents and accepts [sink-name]
  • omitting it keeps the current behavior exactly, and the summary now names that fallback in --help

The volume keys reach the default output and nothing else. Game and chat headsets expose two playback endpoints, and a setup that pins the chat endpoint below auto-selection so it is never picked automatically puts that endpoint permanently out of reach. A second speaker zone or an HDMI TV alongside desk audio hits the same wall. Since the resolver already takes a sink name and passes it through, forwarding the second argument is the whole change.

Validation: ./test/cli (includes the bin/ metadata lint), shellcheck, plus the named-sink and no-argument paths exercised against a two-endpoint USB headset.

@tyvsmith
tyvsmith marked this pull request as ready for review August 24, 2026 19:35
Copilot AI balanced review requested due to automatic review settings August 24, 2026 19:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

omarchy-audio-output-volume resolved its target from the default sink alone, so an
output that is deliberately not the default could not be reached. Game and chat
headsets expose two playback endpoints, and a setup that pins the chat one below
auto-selection puts it permanently out of reach of the volume keys.

omarchy-audio-output-sink already accepts a sink name and passes it through, so
forwarding the second argument is the whole change. Omitting it leaves the
existing behavior untouched, and the summary line now names that fallback so
--help states it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants