Adjust Waybar configuration and styling: reduce height to 18px and modify module margins and padding for improved layout.

This commit is contained in:
Danilo Reyes 2025-10-03 19:40:12 -06:00
parent 93f7e78540
commit 3f3d338f50
2 changed files with 5 additions and 4 deletions

View File

@ -4,7 +4,7 @@ _: {
systemd.enable = true; systemd.enable = true;
settings.main-bar = { settings.main-bar = {
layer = "top"; layer = "top";
height = 20; height = 18;
tray.spacing = 5; tray.spacing = 5;
clock = { clock = {
format = "{:%a %b %d %I:%M %p}"; format = "{:%a %b %d %I:%M %p}";
@ -27,6 +27,7 @@ _: {
]; ];
"hyprland/workspaces" = { "hyprland/workspaces" = {
format = "{icon}"; format = "{icon}";
active-only = true;
on-scroll-up = "hyprctl dispatch workspace e-1"; on-scroll-up = "hyprctl dispatch workspace e-1";
on-scroll-down = "hyprctl dispatch workspace e+1"; on-scroll-down = "hyprctl dispatch workspace e+1";
persistent-workspaces."*" = 10; # Show 5 workspaces on all monitors persistent-workspaces."*" = 10; # Show 5 workspaces on all monitors

View File

@ -14,12 +14,12 @@ in
} }
window#waybar { window#waybar {
background: #${colors.base00}; background: #${colors.base00};
min-height: 20px; min-height: 18px;
} }
.module { .module {
background: #${colors.base00}; background: #${colors.base00};
margin: 0px 5px 0px 5px; margin: 0px 3px 0px 3px;
padding: 8px 8px 8px 8px; padding: 4px 6px 4px 6px;
} }
#workspaces button { #workspaces button {
padding: 2px 8px; padding: 2px 8px;