✨ feat(waybar): add new module: bluetooth
This commit is contained in:
parent
ce6f76d319
commit
b2c17e6956
2 changed files with 18 additions and 0 deletions
13
.config/waybar/modules/bluetooth.jsonc
Normal file
13
.config/waybar/modules/bluetooth.jsonc
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"bluetooth": {
|
||||||
|
"format": "",
|
||||||
|
"format-disabled": "",
|
||||||
|
"format-connected": " {num_connections}",
|
||||||
|
"format-connected-battery": "{icon} {num_connections}",
|
||||||
|
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
||||||
|
"tooltip-format": "{controller_alias}\n{num_connections} connected",
|
||||||
|
"tooltip-format-connected": "{controller_alias}\n{num_connections} connected\n\n{device_enumerate}",
|
||||||
|
"tooltip-format-enumerate-connected": "{device_alias}",
|
||||||
|
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{icon} {device_battery_percentage}%",
|
||||||
|
},
|
||||||
|
}
|
|
@ -43,6 +43,7 @@
|
||||||
#custom-fans,
|
#custom-fans,
|
||||||
#clock,
|
#clock,
|
||||||
#idle_inhibitor,
|
#idle_inhibitor,
|
||||||
|
#bluetooth,
|
||||||
#custom-wf-recorder,
|
#custom-wf-recorder,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#backlight,
|
#backlight,
|
||||||
|
@ -224,6 +225,10 @@ window#waybar.hidden {
|
||||||
color: @peach;
|
color: @peach;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#bluetooth {
|
||||||
|
color: @blue;
|
||||||
|
}
|
||||||
|
|
||||||
#window {
|
#window {
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
52deg,
|
52deg,
|
||||||
|
|
Loading…
Add table
Reference in a new issue