feat: use eww as bar!

This commit is contained in:
João Dias
2024-11-23 10:10:28 -03:00
parent 1f08358b10
commit fb7b91699e
18 changed files with 349 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
; Windows
(include "./windows/calendar.yuck")
(include "./windows/control-center.yuck")
; Widgets
(include "./widgets/workspaces.yuck")
(include "./widgets/clock.yuck")
(include "./widgets/notifications.yuck")
(include "./widgets/audio.yuck")
(include "./widgets/media.yuck")
(include "./widgets/logo.yuck")
(include "./widgets/window.yuck")
(defwindow bar
:monitor 0
:geometry (geometry :width "100%"
:height "44px"
:anchor "top center")
:stacking "fg"
:exclusive true
:namespace "eww-bar"
(centerbox :orientation "h"
(box :class "widgets-left"
:halign "start"
:space-evenly false
(logo)
(workspaces)
)
(box :class "widgets-center"
:halign "center"
:space-evenly false
(clock)
(window)
)
(box :class "widgets-right"
:halign "end"
:space-evenly false
(systray :spacing 5
:orientation "h"
:space-evenly false
:icon-size 14
:prepend-new true
:class "systray"
)
(audio)
(notifications)
)
)
)