mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 11:43:55 -05:00
waybar: autohide power profile and sleep inhibitor
This commit is contained in:
parent
569c65ffc6
commit
795a13bb0a
|
@ -32,9 +32,7 @@
|
||||||
"network"
|
"network"
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
# "wireplumber"
|
# "wireplumber"
|
||||||
"battery"
|
"group/power"
|
||||||
"power-profiles-daemon"
|
|
||||||
"inhibitor"
|
|
||||||
"custom/logout"
|
"custom/logout"
|
||||||
"clock"
|
"clock"
|
||||||
];
|
];
|
||||||
|
@ -57,6 +55,19 @@
|
||||||
"interval" = 60;
|
"interval" = 60;
|
||||||
"format" = "{:%I:%M%p}";
|
"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" = {
|
"battery" = {
|
||||||
"states" = {"critical" = 20;};
|
"states" = {"critical" = 20;};
|
||||||
"format" = "{icon}";
|
"format" = "{icon}";
|
||||||
|
|
Loading…
Reference in a new issue