New backup 2025-09-01 02:45:01
This commit is contained in:
parent
6914c676e5
commit
a98e627e94
3 changed files with 24 additions and 7 deletions
|
|
@ -24,7 +24,7 @@
|
|||
(eventbox
|
||||
:onhover "${EWW_CMD} update wsreveal=true"
|
||||
:onhoverlost "${EWW_CMD} update wsreveal=false"
|
||||
(box :class "workspaces ${wsreveal}"
|
||||
(box :class "workspaces"
|
||||
:orientation "h"
|
||||
:space-evenly false
|
||||
:halign "start"
|
||||
|
|
@ -40,6 +40,7 @@
|
|||
:visible {((entry.num <= activeWorkspace) && !entry.focused) ? true : false}
|
||||
:content {((entry.num <= activeWorkspace) && !entry.focused) ? "(workspace :ws entry :side 'left')" : "(box :visible false)"}))))
|
||||
(box
|
||||
:class "ws-center ${wsreveal}"
|
||||
(for entry in array
|
||||
(literal
|
||||
:visible {entry.focused ? true : false}
|
||||
|
|
|
|||
|
|
@ -77,15 +77,25 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
|
|||
.workspaces {
|
||||
color: $bar-module-fg-color;
|
||||
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 {
|
||||
|
||||
&.ws-left {
|
||||
padding-left: 5px;
|
||||
// border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius;
|
||||
>box>box {
|
||||
background-color: rgba($bar-bg-color,0.5);
|
||||
&:not(:first-child){
|
||||
border-left: 2px solid $color0;
|
||||
margin-left: 2px;
|
||||
}
|
||||
&:first-child {
|
||||
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 {
|
||||
padding-right: 5px;
|
||||
button {
|
||||
>box>box {
|
||||
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 {
|
||||
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;
|
||||
}
|
||||
&.right:last-child {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ set {
|
|||
|
||||
# Blur
|
||||
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
|
||||
"wofi" $layer_blur
|
||||
"worf" $layer_blur
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue