Airpods Max output as table. Not charging. Airpods Max output as table. Charging.

I do not claim this script. This was built off of Delphiki’s fork of Faglo’s original Airstatus. They did the complicated stuff. They’re the real heroes. I’m just a UI/UX nerd. I like things to look nice.

Fork here: https://github.com/SleepyScribe/AirStatus

I’ve added a few changes to my Airstatus fork just for my peace of mind. The new output can be used as a tiling WM status monitor. I’m in the motions of diving into KDE JSON/XML/QML spaghetti to see if I can make a widget, but its not going well. However, you can still specify an output file that will update with the raw data in it’s original, unaltered form. This should allow hoodoo programming wizards to hook up their own OS front ends for the data. I may see if I can make it so that the raw data clears the line before adding a new update, just because I can see the output file getting unwieldy after a while.

The new table will output battery levels from green-yellow-red depending on charge level. Caret and input are disabled while retaining the ability to break out with CTRL+C. Breakout is now clean with no text and clears terminal. This was to keep things as neat as possible if you should use it as a CLI monitor. Update interval is set to 4 seconds. Airpods and Airpods Pro should have columns for left/right/case. I can’t test as I gave mine away to a friend.

Let me know if you have or see any issues, I’ll try my best to address them. Font is Recursive NerdFont DuoTone if you’re curious. Its a mono that changes to a casual style for bold and/or italic text. There’s also normal sans and casual sans versions. Has ligatures.