diff --git a/homeManagerModules/guiApps/waybar/default.nix b/homeManagerModules/guiApps/waybar/default.nix index 0ee46a7d..15ddf152 100644 --- a/homeManagerModules/guiApps/waybar/default.nix +++ b/homeManagerModules/guiApps/waybar/default.nix @@ -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}";