New backup 2025-07-25 15:30:07

This commit is contained in:
Penelope Gwen 2025-07-25 15:30:07 -07:00
parent 00ead4bff6
commit a3b2877081
2 changed files with 13 additions and 2 deletions

View file

@ -7,7 +7,8 @@
(defwidget workspaces [array]
(box :class "bar-module"
:space-evenly false
(button :onclick 'sp-profiles next'
(button :class "profile"
:onclick 'sp-profiles next'
(label :text '${active_profile}'))
(eventbox
:onhover "${EWW_CMD} update wsreveal=true"
@ -18,6 +19,7 @@
:halign "start"
(revealer
:class "ws-left"
:reveal wsreveal
:transition "slideleft"
:duration "500ms"
@ -32,6 +34,7 @@
:visible {entry.focused ? true : false}
:content {entry.focused ? "(workspace :ws entry :side 'center')" : "(box :visible false)"})))
(revealer
:class "ws-right"
:reveal wsreveal
:transition "slideright"
:duration "500ms"

View file

@ -31,7 +31,15 @@
// min-width: $bar-module-width;
// border: 2px solid $bar-module-fg-color;
// background-color: $bar-module-bg-color;
padding-left: 5px;
// padding-left: 5px;
revealer {
&.ws-left {
padding-left: 5px;
}
&.ws-right {
padding-right: 1px;
}
}
button {
min-width: 35px;
transition: all 0.3s;