We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi !
Thanks to this plugin that let me monitor my keyboard status. He's a little old and doesn't hold so much, so I needed this ;-)
However on Catalina, I had to add the -l flag in addition to the sell command, like this :
-l
#!/bin/sh # <xbar.title>Keybard Battery</xbar.title> # <xbar.author>Mat Ryer</xbar.author> # <xbar.author.github>matryer</xbar.author.github> PERCENTAGE=$(ioreg -l -c AppleBluetoothHIDKeyboard | grep BatteryPercent | fgrep -v \{ | sed 's/[^[:digit:]]//g') if [ "$PERCENTAGE" ]; then echo "KB: $PERCENTAGE%" else echo "KB: ?%" fi
The text was updated successfully, but these errors were encountered:
Also little glitch, the o is missing in <xbar.title>Keybard Battery</xbar.title> ;-)
o
<xbar.title>Keybard Battery</xbar.title>
Sorry, something went wrong.
FAO @matryer ☝🏽
No branches or pull requests
Hi !
Thanks to this plugin that let me monitor my keyboard status. He's a little old and doesn't hold so much, so I needed this ;-)
However on Catalina, I had to add the
-l
flag in addition to the sell command, like this :The text was updated successfully, but these errors were encountered: