From a98e627e940a55ce7ad02ffb15566ff1ebd9f472 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Mon, 1 Sep 2025 02:45:01 -0700 Subject: [PATCH] New backup 2025-09-01 02:45:01 --- .../.config/eww/modules/bar/workspaces.yuck | 3 ++- de/home/.config/eww/style/bar.scss | 26 +++++++++++++++---- de/home/.config/sway/config.d/layout | 2 +- 3 files changed, 24 insertions(+), 7 deletions(-) diff --git a/de/home/.config/eww/modules/bar/workspaces.yuck b/de/home/.config/eww/modules/bar/workspaces.yuck index 709aa4f..7b13bbc 100644 --- a/de/home/.config/eww/modules/bar/workspaces.yuck +++ b/de/home/.config/eww/modules/bar/workspaces.yuck @@ -24,7 +24,7 @@ (eventbox :onhover "${EWW_CMD} update wsreveal=true" :onhoverlost "${EWW_CMD} update wsreveal=false" - (box :class "workspaces ${wsreveal}" + (box :class "workspaces" :orientation "h" :space-evenly false :halign "start" @@ -40,6 +40,7 @@ :visible {((entry.num <= activeWorkspace) && !entry.focused) ? true : false} :content {((entry.num <= activeWorkspace) && !entry.focused) ? "(workspace :ws entry :side 'left')" : "(box :visible false)"})))) (box + :class "ws-center ${wsreveal}" (for entry in array (literal :visible {entry.focused ? true : false} diff --git a/de/home/.config/eww/style/bar.scss b/de/home/.config/eww/style/bar.scss index 5bd72d1..5e9896b 100644 --- a/de/home/.config/eww/style/bar.scss +++ b/de/home/.config/eww/style/bar.scss @@ -77,15 +77,25 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2); .workspaces { color: $bar-module-fg-color; margin: 0px 5px; + box.ws-center { + >box>button { + background-color: rgba($bar-bg-color,0.75); + margin: 0px 2px; + } + &.false>box>button { + border-radius: $bar-module-border-radius; + } + } +/* box.ws-center.true { + background-color: red; + }*/ revealer { - &.ws-left { padding-left: 5px; -// border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius; >box>box { background-color: rgba($bar-bg-color,0.5); &:not(:first-child){ - border-left: 2px solid $color0; + margin-left: 2px; } &:first-child { border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius; @@ -94,8 +104,14 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2); } &.ws-right { padding-right: 5px; - button { + >box>box { background-color: rgba($bar-bg-color,0.5); + &:not(:last-child){ + margin-right: 2px; + } + &:last-child { + border-radius: 0px $bar-module-border-radius $bar-module-border-radius 0px; + } } } } @@ -109,7 +125,7 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2); // } &.center { color: $bar-module-fg-color; - border-radius: $bar-module-border-radius; +// border-radius: $bar-module-border-radius; // box-shadow: 0 0 2px 1px $bar-module-fg-color; } &.right:last-child { diff --git a/de/home/.config/sway/config.d/layout b/de/home/.config/sway/config.d/layout index 8bd63b0..ed1f859 100644 --- a/de/home/.config/sway/config.d/layout +++ b/de/home/.config/sway/config.d/layout @@ -27,7 +27,7 @@ set { # Blur layer_effects { - "eww-bar" blur enable, blur_ignore_transparent enable, shadows enable, corner_radius 12, blur_xray enable + "eww-bar" blur enable, blur_ignore_transparent enable, shadows disable, corner_radius 12, blur_xray enable #, shadows enable, shadow_color #ffffff, shadow_blur_radius 5 "wofi" $layer_blur "worf" $layer_blur