waybar: remove drawer

This commit is contained in:
Aly Raffauf 2024-04-21 20:12:34 -04:00
parent a446d36069
commit 9e98b48bc9

View file

@ -23,14 +23,15 @@
layer = "top"; layer = "top";
output = ["*"]; output = ["*"];
position = "top"; position = "top";
reload_style_on_change = true;
modules-left = lib.mkDefault ["hyprland/workspaces" "hyprland/submap"]; modules-left = lib.mkDefault ["hyprland/workspaces" "hyprland/submap"];
modules-center = ["clock"]; modules-center = ["clock"];
modules-right = [ modules-right = [
"tray" "tray"
"bluetooth" "bluetooth"
"pulseaudio" "pulseaudio"
"group/power" # "group/power"
"power-profiles-daemon"
"battery"
"custom/logout" "custom/logout"
]; ];
"hyprland/workspaces" = { "hyprland/workspaces" = {
@ -77,19 +78,19 @@
"interval" = 60; "interval" = 60;
"format" = "{:%I:%M%p}"; "format" = "{:%I:%M%p}";
}; };
"group/power" = { # "group/power" = {
"orientation" = "inherit"; # "orientation" = "inherit";
"drawer" = { # "drawer" = {
"transition-duration" = 500; # "transition-duration" = 500;
"children-class" = "not-power"; # "children-class" = "not-power";
"transition-left-to-right" = false; # "transition-left-to-right" = false;
}; # };
"modules" = [ # "modules" = [
"battery" # "battery"
"power-profiles-daemon" # "power-profiles-daemon"
"inhibitor" # "inhibitor"
]; # ];
}; # };
"battery" = { "battery" = {
"states" = {"critical" = 20;}; "states" = {"critical" = 20;};
"format" = "{icon}"; "format" = "{icon}";