waybar: add click actions to turn bluetooth on/off
Adjust waybar battery module thresholds
This commit is contained in:
parent
75eb51310d
commit
feea95fa72
|
@ -139,6 +139,8 @@
|
|||
format-on = " ";
|
||||
format-connected = " ";
|
||||
tooltip-format = "{status} | {device_alias}";
|
||||
on-click = "${pkgs.bluez}/bin/bluetoothctl power on";
|
||||
on-click-right = "${pkgs.bluez}/bin/bluetoothctl power off";
|
||||
};
|
||||
"clock#calendar" = {
|
||||
format = "{: %Y-%m-%d}";
|
||||
|
@ -172,7 +174,7 @@
|
|||
battery = {
|
||||
states = {
|
||||
warning = 30;
|
||||
critical = 15;
|
||||
critical = 20;
|
||||
};
|
||||
format = "{icon}";
|
||||
format-charging = " ";
|
||||
|
|
Loading…
Reference in a new issue