diff --git a/environments/waybar-config.nix b/environments/waybar-config.nix index 2546012..c35296d 100644 --- a/environments/waybar-config.nix +++ b/environments/waybar-config.nix @@ -4,7 +4,7 @@ _: { systemd.enable = true; settings.main-bar = { layer = "top"; - height = 20; + height = 18; tray.spacing = 5; clock = { format = "{:%a %b %d %I:%M %p}"; @@ -27,6 +27,7 @@ _: { ]; "hyprland/workspaces" = { format = "{icon}"; + active-only = true; on-scroll-up = "hyprctl dispatch workspace e-1"; on-scroll-down = "hyprctl dispatch workspace e+1"; persistent-workspaces."*" = 10; # Show 5 workspaces on all monitors diff --git a/environments/waybar-style.nix b/environments/waybar-style.nix index 2101034..5193ab2 100644 --- a/environments/waybar-style.nix +++ b/environments/waybar-style.nix @@ -14,12 +14,12 @@ in } window#waybar { background: #${colors.base00}; - min-height: 20px; + min-height: 18px; } .module { background: #${colors.base00}; - margin: 0px 5px 0px 5px; - padding: 8px 8px 8px 8px; + margin: 0px 3px 0px 3px; + padding: 4px 6px 4px 6px; } #workspaces button { padding: 2px 8px;