A better AirPod Connection Widget: less space for the same information

Here you go. :wink:

Edit: you might have to run the assigned script at least once from the BTT window in order to set your AirPods' name.

1 Like

That worked like a charm. Thank you for that :slight_smile:

1 Like

Just thought of you because I rediscovered the function Enable Touch Bar Control by Mouse in the BTT settings. Might be interesting for you :man_shrugging:t4:

Hi,

Am I doing something wrong?

I have downloaded your preset and activated it.
I ran the script like you said but nothing happened.

It didn't ask me for the name of my Airpods and script result is empty.

Can you please tell me how it should be done :frowning:

What happens if you long press the button in the Touch Bar?

I have done the work and press the 'Run Script' AirPods' battery percent is written.
But the icon is not on my touch bar. What should i do???

i found a solution. Thank you for providing this preset!!!

The problem is; nothing is shown in the touchbar about airpods. All of my other buttons or sliders are working except this one. Can you please write the steps for me?

What version did you download? The classic one or the one that only shows up on the Touch Bar when your AirPods are connected?

I don't even remember what I've done but I made it :smiley: I mixed several scripts from different airpods presets and whola! So this is my custom touchbar setup, thanks for the scripts and your attention my friend! Now I have only one question; Is there any way to make the whole button (airpods logo and percentage) dysfunctional? I don't want it to do anything when I accidently press on it. It should only show me the percentage with its beautiful design. I couldn't find anything in the settings relevant to this, if this can be done by making some change in the script, if would be super cool!

Glad to hear this!
Sure you can make it "display only" if you want! I see you use the old UI, si just select the widget, and on the lower right (predefined action) select "nothing" (or something like that). That's it :wink:

Yeapp that worked like a charm! That was the last touch of my setup so it's completed now! Have a great day, thanks!

1 Like

Merry Christmas :wink:

Just an FYI for some, this may help.

I found that deleting the preference file /Library/Preferences/com.apple.Bluetooth

and rebooting the Mac, connecting your Bluetooth devices again resolved many issues I had previously with AirPod scripts displaying incorrect or no data.

1 Like

Just some ideas for those of you that have the AirPods.

  1. I redesigned AirPod Pro icons.
  2. Added Battery Levels (only displayed when connected) to my "default/Main" menu Touch Bar.
  3. Added a LONG PRESS Trigger to connect/disconnect AirPods.
  4. Normal/Short press opens full menu for AirPods and charging case battery levels.

My Default Main TouchBar Menu. AirPods are not Connected.

After a LONG PRESS on AirPod Pro Icon.

After Short Press/Touch on the AirPod Pro button. Loads Full AirPods Menu. When CONNECTED

After Short Press/Touch on the AirPod Pro button. Loads Full AirPods Menu. When NOT CONNECTED

1 Like

Good! can you share your AirPods Wideget?

1 Like

I just tried the script above with my AirPods pro and its returning a few extra values and new lines.

the output is:

"73

36

73%

71

18

71%"

never mind - figured it out

I somewhere have the script for the AirPods pro. Gonna post it later :ok_hand:t4:

Edit - didn't see you found the solution :ok_hand:t4:

Can you share the Airpods widget? It looks great.

1 Like