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

@@ -1,9 +0,0 @@
(defwindow calendar
:monitor 0
:geometry (geometry
:x "0%"
:y "0%"
:anchor "bottom right"
:width "0px"
:height "0px")
(window (calendar)))

View File

@@ -103,12 +103,3 @@
(wifi-net-section)
(box :class "section-sep")
(bluetooth-net-section)))
(defwindow net
:monitor 0
:stacking "overlay"
:geometry (geometry
:x "0%" :y "0%"
:anchor "bottom right"
:width "300px" :height "0px")
(window (net-win)))

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

View File

@@ -209,14 +209,3 @@
(bat-sys-win)
)
)
(defwindow sys
:monitor 0
:stacking "overlay"
:geometry (geometry
:x "0%"
:y "0%"
:anchor "bottom right"
:width "320px"
:height "0px")
(window (sys-win)))