mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 05:53:56 -05:00
waybar: autohide power profile and sleep inhibitor
This commit is contained in:
parent
569c65ffc6
commit
795a13bb0a
|
@ -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}";
|
||||
|
|
Loading…
Reference in a new issue