waybar: add click actions to turn bluetooth on/off

Adjust waybar battery module thresholds
This commit is contained in:
Evie Litherland-Smith 2024-02-17 09:52:29 +00:00
parent 75eb51310d
commit feea95fa72

View file

@ -139,6 +139,8 @@
format-on = "󰂯 "; format-on = "󰂯 ";
format-connected = "󰂱 "; format-connected = "󰂱 ";
tooltip-format = "{status} | {device_alias}"; tooltip-format = "{status} | {device_alias}";
on-click = "${pkgs.bluez}/bin/bluetoothctl power on";
on-click-right = "${pkgs.bluez}/bin/bluetoothctl power off";
}; };
"clock#calendar" = { "clock#calendar" = {
format = "{:󰃭 %Y-%m-%d}"; format = "{:󰃭 %Y-%m-%d}";
@ -172,7 +174,7 @@
battery = { battery = {
states = { states = {
warning = 30; warning = 30;
critical = 15; critical = 20;
}; };
format = "{icon}"; format = "{icon}";
format-charging = "󰂄 "; format-charging = "󰂄 ";