maniacx / Bluetooth-Battery-Meter

A Gnome extension featuring indicator icons in system tray, serving as meter for Bluetooth device battery levels and providing detailed battery levels via icon/text in the Bluetooth quick settings menu.
https://extensions.gnome.org/extension/6670/bluetooth-battery-meter/
GNU General Public License v3.0
107 stars 11 forks source link

Duplicated icons in QS #31

Closed Bitals closed 4 months ago

Bitals commented 5 months ago

All bluetooth devices are duplicated on the QuickSettings BT section:

image

Gnome 46 ArchLinux

Bitals commented 5 months ago

UPD: I am dumb, this was the https://github.com/Extensions-Valhalla/gnome-bluetooth-quick-connect

(However I do prefer that extensions default themable toggles over a blue BT icon).

maniacx commented 5 months ago

Hmm. Strange. I tested this extension in Ubuntu it changes the icon color according to the accent color

The custom theme might not have an entry for 'shell-link' style class. I will check if there is a more commonly use stylesclass, so that it gets customized by the theme.

Bitals commented 5 months ago

@maniacx afaik Ubuntu uses their own Accent Color implementation, the xdg-desktop-compatible one was teased for Gnome 47 by upstream.

I use https://github.com/GradienceTeam/Gradience

P.S. I do also think toggles just look better, as there already is a BT icon in the section header, everything inside collapsible section has to be a BT device after all.

maniacx commented 4 months ago

@Bitals

I have added support for custom themes.

But I am still using an icon as I prefer it over toggle switch. Toggle switch make the menu height much larger (at least on Vanilla Gnomes theme. adwaita) and also allocates more width and with the battery icon and text there is no much room left to display device name.

Would you mind testing it on your device, even if you are not interested in the extension. I just need some feedback if it works correctly.

the latest version from Github. Download and run ./install.sh. Note: You might have to install gettext before runnung ./install.sh.

https://github.com/maniacx/Bluetooth-Battery-Meter/tree/GNOME45

Thank you.

Bitals commented 4 months ago

@maniacx not to argue with any of your points, but Gradience is not a custom theme. It is just a third-party instrument to use Adwaita accent colors, because the colors themselves have been there for years, but tooling to control them through Gnome is still yet to arrive. The "|" and "O" are standard Gnome stuff from the accessibility settings.

I will test shortly. I am interested in the extension as I want a battery meter more then toggles lol.

Bitals commented 4 months ago

@maniacx I confirm, very orange: image