From 3f3d338f50ddf62c5215f090165787c476b87d84 Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Fri, 3 Oct 2025 19:40:12 -0600 Subject: [PATCH] Adjust Waybar configuration and styling: reduce height to 18px and modify module margins and padding for improved layout. --- environments/waybar-config.nix | 3 ++- environments/waybar-style.nix | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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;