Skip to content

Choose the audio output device from a popup #709

Closed

Description

@Seb-GRAF

Problem

The audio provider lists the output devices in lists.devices, with their id and name, but a popup can't mark the current one or switch to another. Switching needs a shell tool such as SwitchAudioSource, and a widgets package can't run commands.

Proposal

  • Each row of lists.devices gains selected: true for the default output, empty for the others, so a checkmark can use hideWhenEmpty.
  • A display block can set selectOutputDeviceField, naming a row field that holds a device's ID. Clicking it makes that device the default output, natively through CoreAudio, with no permission.
  • Like selectInputSourceField, it can't be combined with the other actions, and widgets packages can use it.
{
  "type": "list", "source": "sound.devices",
  "row": {
    "type": "row", "selectOutputDeviceField": "id",
    "children": [
      { "type": "symbol", "name": "checkmark", "hideWhenEmpty": "selected" },
      { "type": "field", "field": "name" }
    ]
  }
}

Possible today

Only in a configuration of your own, with a third-party command-line tool. Not in a package.

Related

Triaged by Claude Code via T3 Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Nov 16, 2026
  2. stablebar-releases commented on Nov 16, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.17.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions