Last active
February 7, 2022 11:19
-
-
Save hugeblank/4c494b21a2489077420c2a41f282fff7 to your computer and use it in GitHub Desktop.
Simple Script using Sapd/HeadsetControl to check the battery % and print it in a little bit more stylish manner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
echo 🎧 `headsetcontrol -b | grep "Battery:" | awk {'printf $2'}` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All discussion about this script should be relegated to: Sapd/HeadsetControl#201