Skip to content

Add option to check if headset is connected #322

Description

@theaino

Description

When writing scripts using headsetcontrol, it would be very practical having
a flag which checks if there is a headset connected.

Activity

  1. Sapd commented on Jan 27, 2024

    @Sapd
    Owner

    Will be provided indirectly over
    #271
    (Feel free to comment there for feedback)

  2. theaino commented on Jan 28, 2024

    @theaino
    ContributorAuthor

    Yeah but when writing stuff like bash scripts (e. g. for an i3 status bar module) it
    would be really convenient if you could do something like

    if [ headsetcontrol --connected ] ; then

    and it feels like it should exist.

  3. Sapd commented on Jan 28, 2024

    @Sapd
    Owner

    Makes sense, will probably implement that and --count or so to check how many are connected (used for further use cases).

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions