68 lines
1.4 KiB
Plaintext
68 lines
1.4 KiB
Plaintext
(include "./widgets.yuck")
|
|
|
|
(defwindow dp-2 :monitor "DP-2"
|
|
:geometry (geometry :x 0
|
|
:y 0
|
|
:width "100%"
|
|
:height "20px"
|
|
:anchor "top center")
|
|
:stacking "bg"
|
|
:exclusive true
|
|
:focusable "ondemand"
|
|
:namespace "dp-2"
|
|
(top)
|
|
)
|
|
|
|
(defwindow dp-1 :monitor "DP-1"
|
|
:geometry (geometry :x 0
|
|
:y 0
|
|
:width "100%"
|
|
:height "20px"
|
|
:anchor "top center")
|
|
:stacking "bg"
|
|
:exclusive true
|
|
:focusable "ondemand"
|
|
:namespace "dp-1"
|
|
(top)
|
|
)
|
|
|
|
(defwidget top []
|
|
(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
|
|
(media)
|
|
)
|
|
)
|
|
|
|
(defwidget right []
|
|
(box :orientation 'h'
|
|
:class 'right'
|
|
:space-evenly false
|
|
:spacing 5
|
|
:halign 'end'
|
|
(hyprsunset)
|
|
(datetime)
|
|
(stray)
|
|
)
|
|
)
|
|
|