✨ feat: use eww as bar!
This commit is contained in:
@@ -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)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user