Introduces eww bar
This commit is contained in:
parent
75bc7eb6a7
commit
e58899e4ae
30 changed files with 279 additions and 1147 deletions
40
.config/eww/widgets/bar/bar.yuck
Normal file
40
.config/eww/widgets/bar/bar.yuck
Normal 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)
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue