refactor of yuck files
This commit is contained in:
@@ -1,33 +1,38 @@
|
||||
(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"
|
||||
(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"
|
||||
(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"
|
||||
(centerbox
|
||||
:orientation "h"
|
||||
(left)
|
||||
(center)
|
||||
(right)
|
||||
@@ -35,30 +40,33 @@
|
||||
)
|
||||
|
||||
(defwidget left []
|
||||
(box :orientation 'h'
|
||||
:class 'left'
|
||||
:space-evenly true
|
||||
:spacing 5
|
||||
:halign 'start'
|
||||
(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
|
||||
(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'
|
||||
(box
|
||||
:orientation 'h'
|
||||
:class 'right'
|
||||
:space-evenly false
|
||||
:spacing 5
|
||||
:halign 'end'
|
||||
(hyprsunset)
|
||||
(datetime)
|
||||
(stray)
|
||||
|
Reference in New Issue
Block a user