fix: eww bar shadow

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-01-12 22:24:30 -03:00
parent 5f63a62c90
commit 7e79bc2de1
2 changed files with 13 additions and 6 deletions

View File

@@ -13,6 +13,9 @@ tooltip {
font-weight: bold;
}
.wrapper {
padding: 5px 10px;
}
.bar {
@include box-style();

View File

@@ -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}")))))