Introduces eww bar

This commit is contained in:
Michel Fedde 2025-11-11 17:44:06 +01:00
parent 75bc7eb6a7
commit e58899e4ae
30 changed files with 279 additions and 1147 deletions

View file

@ -0,0 +1,40 @@
(include "./widgets/bar/elements/time.yuck")
(include "./widgets/bar/elements/workspaces.yuck")
(include "./widgets/bar/elements/audio.yuck")
(defwidget bar []
(centerbox
:class "bar"
(box
(bar-workspaces)
)
(box
(bar-time)
)
(box
:space-evenly false
:halign "end"
:spacing 10
(bar-audio)
(systray
:class "widget default-padding"
:space-evenly false
:spacing 10
:hexpand false
:halign "end"
)
)
)
)
(defwindow bar [monitor]
:monitor {monitor}
:geometry (geometry
:x "0px"
:y "10px"
:width "100%"
:height "0px"
:anchor "top center")
:stacking "fg"
(bar)
)