From d10a6a880204d8cc4c7ea1ceb1740b07d489cd6d Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Sat, 29 Nov 2025 17:15:03 -0800 Subject: [PATCH] New backup 2025-11-29 17:15:03 --- de/home/.config/eww/modules/bar/scratchpad.yuck | 4 ++-- de/home/.config/eww/style/bar/styles/revealer.scss | 9 +++++++++ de/home/.librewolf/profiles.ini | 10 +++++----- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/de/home/.config/eww/modules/bar/scratchpad.yuck b/de/home/.config/eww/modules/bar/scratchpad.yuck index 8ce7a44..0c9c297 100644 --- a/de/home/.config/eww/modules/bar/scratchpad.yuck +++ b/de/home/.config/eww/modules/bar/scratchpad.yuck @@ -10,7 +10,7 @@ :text " ${jq(scratchpadArray,'. | length')} ${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"}]}" +(deflisten scratchpadArray :initial "${[{"icon": "/usr/share/icons/breeze-dark/mimetypes/32/unknown.svg", "name": "placeholder", "title": "placeholder", "win_id": "0", "visible": "false"}]}" 'scripts/bar/scratchpad') (defwidget scratchpad_children [array] (box :orientation "h" @@ -18,7 +18,7 @@ :space-evenly false (for entry in array (button :onclick 'swaymsg [con_id=${entry.win_id}] scratchpad show' - :class "${(entry.visible == 'true') ? visible : hidden}" + :class "${(entry.visible == 'true') ? 'active' : 'inactive'}" :tooltip "${entry.name}\n${entry.title}" (image :path {entry.icon} :image-width 20 diff --git a/de/home/.config/eww/style/bar/styles/revealer.scss b/de/home/.config/eww/style/bar/styles/revealer.scss index 79cbf2c..0a662bd 100644 --- a/de/home/.config/eww/style/bar/styles/revealer.scss +++ b/de/home/.config/eww/style/bar/styles/revealer.scss @@ -11,6 +11,9 @@ min-width: $bar-module-width; transition: all 0.3s; background-color: rgba($bar-bg-color,0.5); + & image { + opacity: 0.3; + } &:hover { background: linear-gradient(rgba($bar-bg-color,0.5) 15%, rgba($module-color,0.5)); } @@ -19,6 +22,9 @@ &:hover { background: linear-gradient(mix(rgba($bar-bg-color,0.5), rgba($module-color,0.5)) 15%, rgba($bar-bg-color,0.5)); } + & image { + opacity: 1; + } } &.inactive { background-color: rgba($bar-bg-color,0.3); @@ -26,6 +32,9 @@ &:hover { background: linear-gradient(rgba($bar-bg-color,0.3) 15%, rgba($module-color,0.3)); } +// & image { +// opacity: 0.3; +// } } } .revealer-preview { diff --git a/de/home/.librewolf/profiles.ini b/de/home/.librewolf/profiles.ini index 4275bad..d7b25f5 100644 --- a/de/home/.librewolf/profiles.ini +++ b/de/home/.librewolf/profiles.ini @@ -24,11 +24,6 @@ ShowSelector=0 StartWithLastProfile=1 Version=2 -[Profile4] -Name=testing -IsRelative=1 -Path=4z689ygf.testing - [Install6C4726F70D182CF7] Default=penelope Locked=1 @@ -38,3 +33,8 @@ Name=School IsRelative=1 Path=school +[Profile4] +Name=testing +IsRelative=1 +Path=4z689ygf.testing +