From bb7720a48556b562f1113c5b17a9aa923f8574bf Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Thu, 4 Sep 2025 18:00:01 -0700 Subject: [PATCH] New backup 2025-09-04 18:00:01 --- de/home/.config/eww/modules/bar/scratchpad.yuck | 14 ++++++++------ de/home/.config/eww/style/bar/scratchpad.scss | 6 +++--- de/home/.config/eww/style/bar/window_title.scss | 4 +--- de/home/.config/eww/style/bar/workspaces.scss | 6 +----- 4 files changed, 13 insertions(+), 17 deletions(-) diff --git a/de/home/.config/eww/modules/bar/scratchpad.yuck b/de/home/.config/eww/modules/bar/scratchpad.yuck index 8bd9793..c940561 100644 --- a/de/home/.config/eww/modules/bar/scratchpad.yuck +++ b/de/home/.config/eww/modules/bar/scratchpad.yuck @@ -4,20 +4,22 @@ :class "${reveal_scratchpad} scratchpad" :revealvar reveal_scratchpad :revealvar-name "reveal_scratchpad" - " ${reveal_scratchpad ? '' : ''}" - (scratchpad_children :array scratchpadArray))) + (label + :class "revealer-preview" + :text " ${reveal_scratchpad ? '' : ''}") + (scratchpad_children :array scratchpadArray))) (deflisten scratchpadArray :initial "${[{"icon": "/usr/share/icons/breeze-dark/mimetypes/32/unknown.svg", "name": "placeholder", "title": "placeholder", "win_id": "0"}]}" 'scripts/bar/scratchpad') (defwidget scratchpad_children [array] (box :orientation "h" - :class "reveal_children scratchpad" + :class "reveal-children scratchpad" :space-evenly false (for entry in array (button :onclick 'swaymsg [con_id=${entry.win_id}] focus' :tooltip "${entry.name} ${entry.title}" - (image :path {entry.icon} - :image-width 20 - :image-height 20) + (image :path {entry.icon} + :image-width 20 + :image-height 20) )))) diff --git a/de/home/.config/eww/style/bar/scratchpad.scss b/de/home/.config/eww/style/bar/scratchpad.scss index b2d30ed..18989a7 100644 --- a/de/home/.config/eww/style/bar/scratchpad.scss +++ b/de/home/.config/eww/style/bar/scratchpad.scss @@ -1,5 +1,5 @@ .scratchpad { - &>widget>box>box>label { - padding: 0px 10px; - } +// margin: 0px 5px; + $module-color: $color5; + @import "./styles/revealer.scss"; } diff --git a/de/home/.config/eww/style/bar/window_title.scss b/de/home/.config/eww/style/bar/window_title.scss index aa56d54..ab6fb6c 100644 --- a/de/home/.config/eww/style/bar/window_title.scss +++ b/de/home/.config/eww/style/bar/window_title.scss @@ -1,8 +1,6 @@ .active_window { -// border: 2px solid $bar-bg-color; font-weight: bold; color: $bar-bg-color; - padding: 0px 10px; + padding: 0px 20px; border-radius: $bar-module-border-radius; -// margin-left: 10px; } diff --git a/de/home/.config/eww/style/bar/workspaces.scss b/de/home/.config/eww/style/bar/workspaces.scss index 3c21356..f627f3c 100644 --- a/de/home/.config/eww/style/bar/workspaces.scss +++ b/de/home/.config/eww/style/bar/workspaces.scss @@ -5,11 +5,7 @@ $work-color: mix($color5, $color4, 30%); .profile, .workspaces { -// $module-bg-color: $color7; -// $module-fg-color: $bar-module-fg-color; -// margin: 0px 5px; -// @import "./styles/button.scss"; border: 2px solid $bar-bg-color; font-weight: bold; &.profile-personal { @@ -26,7 +22,7 @@ $work-color: mix($color5, $color4, 30%); } } .profile { - margin-left: 10px; + margin-left: 5px; border-right: 0px solid transparent; border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius; color: $bar-bg-color;