diff --git a/modules/home-manager/programs/eww/eww.scss b/modules/home-manager/programs/eww/eww.scss index e047bc5..5a97559 100644 --- a/modules/home-manager/programs/eww/eww.scss +++ b/modules/home-manager/programs/eww/eww.scss @@ -13,6 +13,9 @@ tooltip { font-weight: bold; } +.wrapper { + padding: 5px 10px; +} .bar { @include box-style(); diff --git a/modules/home-manager/programs/eww/eww.yuck b/modules/home-manager/programs/eww/eww.yuck index 5fe2a99..ce35164 100644 --- a/modules/home-manager/programs/eww/eww.yuck +++ b/modules/home-manager/programs/eww/eww.yuck @@ -58,8 +58,8 @@ (defwindow bar :monitor 0 :geometry (geometry :x "0%" - :y "5px" - :width "99.2%" + :y "0%" + :width "100%" :height "20px" :anchor "top center") :stacking "fg" @@ -67,6 +67,8 @@ :windowtype "dock" :wm-ignore false :exclusive true + (box :orientation "h" + :class "wrapper" (centerbox :orientation "h" :class "bar" (box :orientation "h" @@ -87,13 +89,13 @@ :value volume :value-text "${volume-label} Volume ${volume}%" :onclick volume-toggle - :onchange volume-set)))) + :onchange volume-set))))) (defwindow bar-2 :monitor 1 :geometry (geometry :x "0%" - :y "5px" - :width "99.2%" + :y "0%" + :width "100%" :height "20px" :anchor "top center") :stacking "fg" @@ -101,6 +103,8 @@ :windowtype "dock" :wm-ignore false :exclusive true + (box :orientation "h" + :class "wrapper" (centerbox :orientation "h" :class "bar" (box :orientation "h" @@ -133,5 +137,5 @@ :halign "end" :class "leftstuff" (empty) - (workspaces :workspace "${active-workspace - 3}")))) + (workspaces :workspace "${active-workspace - 3}")))))