Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to check if headset is connected #322

Closed
theaino opened this issue Jan 27, 2024 · 3 comments
Closed

Add option to check if headset is connected #322

theaino opened this issue Jan 27, 2024 · 3 comments

Comments

@theaino
Copy link
Contributor

theaino commented Jan 27, 2024

Description

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

@Sapd
Copy link
Owner

Sapd commented Jan 27, 2024

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

@theaino
Copy link
Contributor Author

theaino commented Jan 28, 2024

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.

@Sapd
Copy link
Owner

Sapd commented Jan 28, 2024

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants