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-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}";
|
||||||
|
@ -167,18 +169,18 @@
|
||||||
backlight = {
|
backlight = {
|
||||||
format = "{icon} ";
|
format = "{icon} ";
|
||||||
tooltip-format = "{percent}%";
|
tooltip-format = "{percent}%";
|
||||||
format-icons = ["" "" "" "" "" "" "" "" ""];
|
format-icons = [" " " " " " " " " " " " " " " " " "];
|
||||||
};
|
};
|
||||||
battery = {
|
battery = {
|
||||||
states = {
|
states = {
|
||||||
warning = 30;
|
warning = 30;
|
||||||
critical = 15;
|
critical = 20;
|
||||||
};
|
};
|
||||||
format = "{icon} ";
|
format = "{icon}";
|
||||||
format-charging = " ";
|
format-charging = " ";
|
||||||
format-plugged = " ";
|
format-plugged = " ";
|
||||||
tooltip-format = "{capacity}% {time}";
|
tooltip-format = "{capacity}% {time}";
|
||||||
format-icons = ["" "" "" "" "" "" "" "" "" "" ""];
|
format-icons = [" " " " " " " " " " " " " " " " " " " " " "];
|
||||||
};
|
};
|
||||||
"custom/notification" = let
|
"custom/notification" = let
|
||||||
swaync = pkgs.swaynotificationcenter;
|
swaync = pkgs.swaynotificationcenter;
|
||||||
|
|
Loading…
Reference in a new issue