[eww] Move eww back to a common dir

This commit is contained in:
2025-03-28 10:37:59 -07:00
parent b241ccd7d8
commit f3986a8773
17 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,62 @@
(defwidget secondary-bar []
(box
:class "statusbar"
:orientation "h"
:height 30
(secondary-leftstuff)
(secondary-rightstuff)
)
)
(defwidget secondary-leftstuff []
(box
:class "leftstuff"
:orientation "h"
:space-evenly true
:halign "start"
(workspaces-secondary)
)
)
(defwidget secondary-rightstuff []
(box
:class "rightstuff"
:orientation "h"
:halign "end"
:space-evenly false
(systray
:class "systray"
:spacing 3
:orientation "h"
:space-evenly true
:icon-size 16
)
(power-button)
)
)
(defwidget bar-and-monitor []
(box
:class "bar-and-monitor"
:orientation "v"
:space-evenly false
:spacing 8
(system-monitor)
(secondary-bar)
)
)
(defwindow secondary-statusbar
:monitor '[ "<secondary>", "DP-1" ]'
:geometry (geometry
:x "0px"
:y "0px"
:width "1440px" ;; Eww seems to treat both monitors as having the same width, so explicitly set this one to 1440px so it doesn't overflow.
:height "30px"
:anchor "top center"
)
:stacking "fg"
:exclusive true
:focusable false
(bar-and-monitor)
)