aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-27 00:56:02 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-29 03:50:30 +0530
commit4b4de9986e3525a89981d8ef4a1955c85d1b0c39 (patch)
treebf805520361094bcf284d91a39d5eab508b948ae /modules
parent26022cdaba2e3e542adcfd9570de3b04b6bc8541 (diff)
downloadhome-manager-config-4b4de9986e3525a89981d8ef4a1955c85d1b0c39.tar.gz
home-manager-config-4b4de9986e3525a89981d8ef4a1955c85d1b0c39.zip
desktop: added spacing between the different sections in the bar
Diffstat (limited to 'modules')
-rw-r--r--modules/desktop/eww/eww.mustache.scss5
-rw-r--r--modules/desktop/eww/yuck.nix11
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"