From 4b4de9986e3525a89981d8ef4a1955c85d1b0c39 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Thu, 27 Aug 2026 00:56:02 +0530 Subject: desktop: added spacing between the different sections in the bar --- modules/desktop/eww/eww.mustache.scss | 5 +++++ modules/desktop/eww/yuck.nix | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/modules/desktop/eww/eww.mustache.scss b/modules/desktop/eww/eww.mustache.scss index 64a5c7f..dc2d181 100644 --- a/modules/desktop/eww/eww.mustache.scss +++ b/modules/desktop/eww/eww.mustache.scss @@ -42,7 +42,12 @@ window#eww-bar { .workspace-button .workspace-idx { font-size: 14px; background: #{{base00}}; + opacity: 0.7; color: #{{base07}}; border-radius: 4px; margin: 20px 0 0 20px; /* nudges the label into the bottom-right corner over the icon */ } + +.workspace-button.active .workspace-idx { + opacity: 1; +} diff --git a/modules/desktop/eww/yuck.nix b/modules/desktop/eww/yuck.nix index 228db86..f4040d5 100644 --- a/modules/desktop/eww/yuck.nix +++ b/modules/desktop/eww/yuck.nix @@ -88,10 +88,13 @@ (bar-content)) (defwidget bar-content [] - (box :orientation "v" :space-evenly false :class "bar-container" - (box :orientation "v" :space-evenly false :valign "start" :class "top-section" - (workspaces-widget) - (windows-widget)))) + (box :orientation "v" + :space-evenly false + :class "bar-container" + :vexpand true + (workspaces-widget) + (box :vexpand true) + (windows-widget))) (defwidget workspaces-widget [] (box :orientation "v" :space-evenly false :spacing 4 :halign "fill" :class "workspaces" -- cgit v1.2.3