feat: Waybar | add bluetooth widget to waybar

This commit is contained in:
2025-01-03 16:19:42 +05:00
parent 3032cfd8f3
commit ba8372d683
2 changed files with 16 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
], ],
"modules-right": [ "modules-right": [
"pulseaudio", "pulseaudio",
"bluetooth",
"network", "network",
"cpu", "cpu",
"memory", "memory",
@@ -153,5 +154,14 @@
"suspend": "systemctl suspend", "suspend": "systemctl suspend",
"hibernate": "systemctl hibernate" "hibernate": "systemctl hibernate"
} }
},
"bluetooth": {
"format-on": "󰂯",
"format-off": "󰂲",
"format-disabled": "", // an empty format will hide the module
"format-connected": "󰂱 {num_connections}",
"tooltip-format": "{controller_alias}\t{controller_address}",
"tooltip-format-connected": "{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}"
} }
} }

View File

@@ -66,6 +66,7 @@ button:hover {
#tray, #tray,
#network, #network,
#mode, #mode,
#bluetooth,
#scratchpad { #scratchpad {
margin-top: 2px; margin-top: 2px;
margin-bottom: 2px; margin-bottom: 2px;
@@ -134,6 +135,11 @@ button:hover {
margin-right: 0; margin-right: 0;
} }
#bluetooth {
color: @sapphire;
border-bottom: 2px solid @sapphire;
}
#custom-vpn { #custom-vpn {
color: @lavender; color: @lavender;
border-radius: 15px; border-radius: 15px;