fix: eww bar shadow
This commit is contained in:
@@ -13,6 +13,9 @@ tooltip {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.bar {
|
||||
@include box-style();
|
||||
|
||||
@@ -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}")))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user