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

Show state of SteelSeries Arctis 7 headset #59

Open
vigne opened this issue Jan 13, 2023 · 1 comment
Open

Show state of SteelSeries Arctis 7 headset #59

vigne opened this issue Jan 13, 2023 · 1 comment

Comments

@vigne
Copy link

vigne commented Jan 13, 2023

Hi,

thanks for the extension. I'd like to share my config for a SteelSeries Arctis 7 headset, which shows either 'Off' or "battery | chat-mix-dial level'. Since, to my best knowledge, there is no proper integration for this headset into Gnome, I used the HeadsetControl (https://github.com/Sapd/HeadsetControl) tool from @Sapd which works without issues.

Headset On:
image

Headset On (battery critical):
image

Headset Off:
image

The command is likt his:

echo "" | awk '{if (battery > 0) { printf icon" "; printf " "battery"%"; if(battery < 10) { printf "<executor.css.red>"} print " | "vcm} else { print icon, "Off<executor.css.gray>"} }' vcm="`headsetcontrol -c -m`" battery="`headsetcontrol -b -c`" icon="`echo -e '\U1f3a7'`"

And finally this is the custom.css I used:

.red {
    color: red;
}

.white {
    color: white;
}

.gray {
    color: gray;
}

Maybe somebody else finds this useful.

Cheers

@raujonas
Copy link
Owner

Thanks for sharing your configuration, that's really appreciated! 😊

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