feat: show battery on bluetooth device list (#352)

* feat: show battery on bluetooth device list

* feat: show battery on bluetooth device list

* fix: handle case when battery is not defined

* fix: handle case when battery is not defined

* feat: add bluetooth menu

* feat: add bluetooth menu

* fix: separate icon and percentage

* fix: group battery stuffs

* Update options.ts

* Update modules/menus/bluetooth/devices/devicelist.ts

* Update modules/menus/bluetooth/devices/devicelist.ts

* Update modules/menus/bluetooth/devices/devicelist.ts

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
This commit is contained in:
Rubin Bhandari
2024-10-30 09:44:45 +05:45
committed by GitHub
parent a64fd64ac0
commit 0bdaf461f6
5 changed files with 93 additions and 3 deletions

View File

@@ -1054,6 +1054,10 @@ const options = mkOptions(OPTIONS, {
menus: {
transition: opt<Transition>('crossfade'),
transitionTime: opt(200),
bluetooth: {
showBattery: opt(false),
batteryIcon: opt('󰥉'),
},
volume: {
raiseMaximumVolume: opt(false),
},