added second monitor and imported systray
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
(include "./widgets.yuck")
|
||||
|
||||
(defwindow top :monitor 1
|
||||
(defwindow dp-2 :monitor "DP-2"
|
||||
:geometry (geometry :x 0
|
||||
:y 0
|
||||
:width "100%"
|
||||
@@ -9,11 +9,24 @@
|
||||
:stacking "bg"
|
||||
:exclusive true
|
||||
:focusable "ondemand"
|
||||
:namespace "example"
|
||||
(bar0)
|
||||
:namespace "dp-2"
|
||||
(top)
|
||||
)
|
||||
|
||||
(defwidget bar0 []
|
||||
(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)
|
||||
@@ -47,6 +60,7 @@
|
||||
:spacing 5
|
||||
:halign 'end'
|
||||
(datetime)
|
||||
(stray)
|
||||
)
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user