Single panel mode

This commit is contained in:
soraefir
2026-06-13 11:03:43 +02:00
parent da76e6c12a
commit 58af37ea8c
11 changed files with 42 additions and 35 deletions

View File

@@ -0,0 +1,18 @@
(defwidget popup-win []
(box :space-evenly false :orientation "v"
(box :visible {active-panel == "sys"}
(sys-win))
(box :visible {active-panel == "net"}
(net-win))
(box :visible {active-panel == "calendar"} :class "sys-win"
(calendar))))
(defwindow popup
:monitor 0
:stacking "overlay"
:geometry (geometry
:x "0%" :y "0%"
:anchor "bottom right"
:width "320px" :height "0px")
(window (popup-win)))