diff --git a/de/home/.config/eww/modules/bar/workspaces.yuck b/de/home/.config/eww/modules/bar/workspaces.yuck index b8c924d..aa9b637 100644 --- a/de/home/.config/eww/modules/bar/workspaces.yuck +++ b/de/home/.config/eww/modules/bar/workspaces.yuck @@ -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" diff --git a/de/home/.config/eww/style/bar.scss b/de/home/.config/eww/style/bar.scss index 50a8ff4..21bf533 100644 --- a/de/home/.config/eww/style/bar.scss +++ b/de/home/.config/eww/style/bar.scss @@ -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;