waybar: autohide power profile and sleep inhibitor

This commit is contained in:
Aly Raffauf 2024-04-11 11:35:38 -04:00
parent 569c65ffc6
commit 795a13bb0a

View file

@ -32,9 +32,7 @@
"network"
"pulseaudio"
# "wireplumber"
"battery"
"power-profiles-daemon"
"inhibitor"
"group/power"
"custom/logout"
"clock"
];
@ -57,6 +55,19 @@
"interval" = 60;
"format" = "{:%I:%M%p}";
};
"group/power" = {
"orientation" = "inherit";
"drawer" = {
"transition-duration" = 500;
"children-class" = "not-power";
"transition-left-to-right" = false;
};
"modules" = [
"battery"
"power-profiles-daemon"
"inhibitor"
];
};
"battery" = {
"states" = {"critical" = 20;};
"format" = "{icon}";