added eww config
This commit is contained in:
52
.config/eww/eww.yuck
Normal file
52
.config/eww/eww.yuck
Normal 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")
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user