feat(waybar): add bluetooth module
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
"modules-right": [
|
"modules-right": [
|
||||||
"tray",
|
"tray",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
|
"bluetooth",
|
||||||
"custom/micmute",
|
"custom/micmute",
|
||||||
"battery",
|
"battery",
|
||||||
"custom/power"
|
"custom/power"
|
||||||
@@ -62,6 +63,16 @@
|
|||||||
"on-click-right": "pavucontrol"
|
"on-click-right": "pavucontrol"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"bluetooth": {
|
||||||
|
"format": " {num_connections}",
|
||||||
|
"format-connected": " {num_connections}",
|
||||||
|
"format-disabled": "",
|
||||||
|
"tooltip-format-connected": "{device_enumerate}",
|
||||||
|
"tooltip-format-enumerate-connected": " {device_alias} ({device_battery_percentage}%)",
|
||||||
|
"on-click": "blueman-manager",
|
||||||
|
"on-click-right": "bluectl power toggle"
|
||||||
|
},
|
||||||
|
|
||||||
"battery": {
|
"battery": {
|
||||||
"interval":2,
|
"interval":2,
|
||||||
"states": {
|
"states": {
|
||||||
|
|||||||
Reference in New Issue
Block a user