feat: add bluetooth to waybar and fix battery max loading
This commit is contained in:
parent
0801cb17aa
commit
539cb58493
5 changed files with 130 additions and 2 deletions
|
|
@ -24,6 +24,9 @@
|
|||
"network",
|
||||
"custom/left-arrow-light",
|
||||
"custom/left-arrow-dark",
|
||||
"custom/bluetooth",
|
||||
"custom/left-arrow-light",
|
||||
"custom/left-arrow-dark",
|
||||
"pulseaudio",
|
||||
"custom/left-arrow-light",
|
||||
"custom/left-arrow-dark",
|
||||
|
|
@ -109,11 +112,18 @@
|
|||
"interval": 5,
|
||||
"format": " {usage:2}%"
|
||||
},
|
||||
"custom/bluetooth": {
|
||||
"exec": "waybar-bluetooth",
|
||||
"return-type": "json",
|
||||
"interval": 5,
|
||||
"on-click": "bluetooth-toggle",
|
||||
"on-click-right": "foot -a launcher -e bluetooth-connect-menu"
|
||||
},
|
||||
"custom/battery": {
|
||||
"exec": "waybar-battery",
|
||||
"return-type": "json",
|
||||
"interval": 10,
|
||||
"on-click": "charge-limit-menu"
|
||||
"on-click": "foot -a launcher -e charge-limit-menu"
|
||||
},
|
||||
"disk": {
|
||||
"interval": 5,
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ window#waybar {
|
|||
#clock.2,
|
||||
#clock.3,
|
||||
#network,
|
||||
#custom-bluetooth,
|
||||
#pulseaudio,
|
||||
#memory,
|
||||
#cpu,
|
||||
|
|
@ -53,6 +54,15 @@ window#waybar {
|
|||
#network {
|
||||
color: #8be9fd;
|
||||
}
|
||||
#custom-bluetooth {
|
||||
color: #8be9fd;
|
||||
}
|
||||
#custom-bluetooth.off {
|
||||
color: #6272a4;
|
||||
}
|
||||
#custom-bluetooth.connected {
|
||||
color: #50fa7b;
|
||||
}
|
||||
#pulseaudio {
|
||||
color: #6272a4;
|
||||
}
|
||||
|
|
@ -74,6 +84,7 @@ window#waybar {
|
|||
}
|
||||
|
||||
#network,
|
||||
#custom-bluetooth,
|
||||
#pulseaudio,
|
||||
#memory,
|
||||
#cpu,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue