feat: Waybar | add bluetooth widget to waybar
This commit is contained in:
@@ -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}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user