This commit is contained in:
fatmeat 2025-05-11 18:24:28 +02:00
parent f549f80b49
commit 88d751b152

View File

@ -1,5 +1,13 @@
(defwidget powermenu []
(box :orientation "vertical"
(defwidget powermenu []
(window
:monitor 0
:stacking "fg"
:geometry (geometry :x "800" :y "400" :width "200" :height "auto")
:anchor "top right"
:class "menu-window"
:exclusive true
:content (box :orientation "vertical"
:class "menu"
(button :label "⏻ Shutdown" :onclick "poweroff")
(button :label " Reboot" :onclick "reboot")
@ -7,3 +15,4 @@
(button :label " Logout" :onclick "i3-msg exit")
)
)
)