Replies: 1 comment 2 replies
-
You probably could take advantage of the --connected parameter and poll (which however is not 100% certain, it checks battery level to see if something is connected). Probably something like this (without testing it) while true; do
if ./headsetcontrol --connected; then
notify-send "Headset Connected" "Your headset is now connected."
# Optional: break
# break
fi
# Wait for a bit before checking again
sleep 5
done |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! I'm looking for a way to detect when my arctis nova 7 connects to the usb dongle on my pc. I have looked through this repository and have found that it can get the status of the headset.
Is there a way to detect on interrupt when the headset connects and disconnects? Maybe I can use the basis of this repository and make my own program? Then I can set up my own programs/scripts.
Thank You :)
Beta Was this translation helpful? Give feedback.
All reactions