added second monitor and imported systray

This commit is contained in:
2025-03-06 01:43:22 +01:00
parent a587b0e475
commit 6b9a914424
5 changed files with 23 additions and 9 deletions

View File

@@ -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)
)
)