feat(eww): add power button click

This commit is contained in:
stitchy 2025-02-15 07:41:27 +00:00
parent c34fea90fe
commit 9f19b0e60e
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
2 changed files with 4 additions and 1 deletions

View file

@ -83,7 +83,9 @@
:char "󰃠")))
(defwidget power []
(box :class "power" :valign "end" "⏻"))
(eventbox
:onclick "hyprctl dispatch exec 'wlogout'"
(box :class "power" :valign "end" "⏻")))
(defwidget tray []
(systray :orientation "v" :icon-size 20))