14
submitted 2 days ago* (last edited 2 days ago) by Eyedust@lemmy.dbzer0.com to c/linux@lemmy.ml

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.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 21 Aug 2025
14 points (100.0% liked)

Linux

57274 readers
568 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS