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 [] (defwindow powermenu
(window :monitor 0
:monitor 0 :geometry (geometry :x "800" :y "200" :width "250" :height "auto")
:stacking "fg" :anchor "top right"
:geometry (geometry :x "800" :y "400" :width "200" :height "auto") :stacking "fg"
:anchor "top right" :exclusive true
:class "menu-window" :focusable false
:exclusive true :content
:content (box :orientation "vertical" (box :orientation "vertical" :class "menu"
:class "menu" (button :label "⏻ Shutdown" :onclick "poweroff")
(button :label "⏻ Shutdown" :onclick "poweroff") (button :label " Reboot" :onclick "reboot")
(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")
(button :label " Logout" :onclick "i3-msg exit")
) )
)
) )