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

View File

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