From 3d74722cf5149a9c655eb6ac155f8249994d4df9 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Fri, 25 Jul 2025 19:45:07 -0700 Subject: [PATCH] New backup 2025-07-25 19:45:07 --- de/home/.config/eww/modules/bar/scratchpad.yuck | 1 + de/home/.config/eww/modules/bar/workspaces.yuck | 2 +- de/home/.config/eww/style/bar.scss | 17 ++++++++++++++--- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/de/home/.config/eww/modules/bar/scratchpad.yuck b/de/home/.config/eww/modules/bar/scratchpad.yuck index 1e6e877..8bd9793 100644 --- a/de/home/.config/eww/modules/bar/scratchpad.yuck +++ b/de/home/.config/eww/modules/bar/scratchpad.yuck @@ -1,6 +1,7 @@ (defvar reveal_scratchpad false) (defwidget scratchpad [] (revealer-on-hover + :class "${reveal_scratchpad} scratchpad" :revealvar reveal_scratchpad :revealvar-name "reveal_scratchpad" " ${reveal_scratchpad ? '' : ''}" diff --git a/de/home/.config/eww/modules/bar/workspaces.yuck b/de/home/.config/eww/modules/bar/workspaces.yuck index 7be886a..709aa4f 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" + (box :class "workspaces ${wsreveal}" :orientation "h" :space-evenly false :halign "start" diff --git a/de/home/.config/eww/style/bar.scss b/de/home/.config/eww/style/bar.scss index 54808df..914bf08 100644 --- a/de/home/.config/eww/style/bar.scss +++ b/de/home/.config/eww/style/bar.scss @@ -73,7 +73,7 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2); &.left { // margin-right: -2px; border-radius: $bar-module-inner-radius 0px 0px $bar-module-inner-radius; - box-shadow: -6px 0 2px 0px $bar-module-fg-color; + box-shadow: -3px 0 2px -1px $bar-module-fg-color; } &.center { color: $bar-module-fg-color; @@ -84,7 +84,7 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2); // margin-left: -2px; // border-radius: $bar-module-border-radius - 1; border-radius: 0px $bar-module-inner-radius $bar-module-inner-radius 0px; - box-shadow: 6px 0 2px 0px $bar-module-fg-color; + box-shadow: 3px 0 2px -1px $bar-module-fg-color; } label { padding: 4px 6px; @@ -146,7 +146,7 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2); .tray>widget, .scratchpad>button { image{ - opacity: 0.4; + opacity: 0.3; transition: all 0.3s; border-radius: 4px; } @@ -161,4 +161,15 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2); border: 2px solid transparent; box-shadow: 8px -8px 10px -8px black; } + + // HOTFIXES + +// .scratchpad>widget>box>box>*, + .scratchpad>widget>box>box, + .scratchpad, + .reveal_children>*:last-child { +// background-color: red; + margin-right: -5px; + box-shadow: 0px 0px 0px 0px transparent; + } }