added eww config

This commit is contained in:
2025-02-26 12:17:04 +01:00
commit 07020f3c30
4 changed files with 146 additions and 0 deletions

52
.config/eww/eww.yuck Normal file
View File

@@ -0,0 +1,52 @@
(include "./widgets.yuck")
(defwindow top :monitor 1
:geometry (geometry :x 0
:y 0
:width "100%"
:height "20px"
:anchor "top center")
:stacking "bg"
:exclusive true
:focusable "ondemand"
:namespace "example"
(bar0)
)
(defwidget bar0 []
(centerbox :orientation "h"
(left)
(center)
(right)
)
)
(defwidget left []
(box :orientation 'h'
:class 'left'
:space-evenly true
:spacing 5
:halign 'start'
(loremText :text "Workspaces")
)
)
(defwidget center []
(box :orientation 'h'
:class 'center'
:space-evenly false
:spacing 5
(music)
)
)
(defwidget right []
(box :orientation 'h'
:class 'right'
:space-evenly false
:spacing 5
:halign 'end'
(loremText :text "Bar stuff")
)
)