aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop')
-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"