Single panel mode
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
(defwindow calendar
|
||||
:monitor 0
|
||||
:geometry (geometry
|
||||
:x "0%"
|
||||
:y "0%"
|
||||
:anchor "bottom right"
|
||||
:width "0px"
|
||||
:height "0px")
|
||||
(window (calendar)))
|
||||
@@ -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)))
|
||||
|
||||
18
modules/home/wayland/apps/eww/bar/windows/popup.yuck
Normal file
18
modules/home/wayland/apps/eww/bar/windows/popup.yuck
Normal 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)))
|
||||
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user