This commit is contained in:
fatmeat 2025-05-11 18:28:51 +02:00
parent 05bbc421f9
commit 2a37eb93dc

View File

@ -1,17 +1,15 @@
(defwidget powermenu []
(window
(defwindow powermenu
:monitor 0
:stacking "fg"
:geometry (geometry :x "800" :y "400" :width "200" :height "auto")
:geometry (geometry :x "800" :y "200" :width "250" :height "auto")
:anchor "top right"
:class "menu-window"
:stacking "fg"
:exclusive true
:content (box :orientation "vertical"
:class "menu"
:focusable false
: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 " Lock" :onclick "i3lock -c 000000")
(button :label " Logout" :onclick "i3-msg exit")
)
)
)