New backup 2025-09-01 02:45:01

This commit is contained in:
Penelope Gwen 2025-09-01 02:45:01 -07:00
parent 6914c676e5
commit a98e627e94
3 changed files with 24 additions and 7 deletions

View file

@ -24,7 +24,7 @@
(eventbox (eventbox
:onhover "${EWW_CMD} update wsreveal=true" :onhover "${EWW_CMD} update wsreveal=true"
:onhoverlost "${EWW_CMD} update wsreveal=false" :onhoverlost "${EWW_CMD} update wsreveal=false"
(box :class "workspaces ${wsreveal}" (box :class "workspaces"
:orientation "h" :orientation "h"
:space-evenly false :space-evenly false
:halign "start" :halign "start"
@ -40,6 +40,7 @@
:visible {((entry.num <= activeWorkspace) && !entry.focused) ? true : false} :visible {((entry.num <= activeWorkspace) && !entry.focused) ? true : false}
:content {((entry.num <= activeWorkspace) && !entry.focused) ? "(workspace :ws entry :side 'left')" : "(box :visible false)"})))) :content {((entry.num <= activeWorkspace) && !entry.focused) ? "(workspace :ws entry :side 'left')" : "(box :visible false)"}))))
(box (box
:class "ws-center ${wsreveal}"
(for entry in array (for entry in array
(literal (literal
:visible {entry.focused ? true : false} :visible {entry.focused ? true : false}

View file

@ -77,15 +77,25 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
.workspaces { .workspaces {
color: $bar-module-fg-color; color: $bar-module-fg-color;
margin: 0px 5px; 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 { revealer {
&.ws-left { &.ws-left {
padding-left: 5px; padding-left: 5px;
// border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius;
>box>box { >box>box {
background-color: rgba($bar-bg-color,0.5); background-color: rgba($bar-bg-color,0.5);
&:not(:first-child){ &:not(:first-child){
border-left: 2px solid $color0; margin-left: 2px;
} }
&:first-child { &:first-child {
border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius; 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 { &.ws-right {
padding-right: 5px; padding-right: 5px;
button { >box>box {
background-color: rgba($bar-bg-color,0.5); 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 { &.center {
color: $bar-module-fg-color; 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; // box-shadow: 0 0 2px 1px $bar-module-fg-color;
} }
&.right:last-child { &.right:last-child {

View file

@ -27,7 +27,7 @@ set {
# Blur # Blur
layer_effects { 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 #, shadows enable, shadow_color #ffffff, shadow_blur_radius 5
"wofi" $layer_blur "wofi" $layer_blur
"worf" $layer_blur "worf" $layer_blur