New backup 2025-07-25 19:45:07

This commit is contained in:
Penelope Gwen 2025-07-25 19:45:07 -07:00
parent 8ad59a523f
commit 3d74722cf5
3 changed files with 16 additions and 4 deletions

View file

@ -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 ? '' : ''}"

View file

@ -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"

View file

@ -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;
}
}