[eww] Move eww back to a common dir

This commit is contained in:
2025-03-28 10:37:59 -07:00
parent b241ccd7d8
commit f3986a8773
17 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,51 @@
(defwidget power-button []
(box
:width 32
(button
;; :onclick `eww close power-menu || eww open power-menu`
:onclick `/home/drew/.config/rofi/powermenu/type-2/powermenu.sh`
(box
:orientation "h"
(label :text "⏻")
)
)
)
)
(defwindow power-menu
:monitor '[ "<secondary>", "DP-1" ]'
:geometry (geometry
:x "8px"
:y "8px"
:anchor "top right"
)
:stacking "overlay"
:exclusive false
:focusable false
(box
:class "power-menu stand-alone"
:orientation "v"
:halign "start"
:spacing 10
;; (button
;; :onclick "hyprlock"
;; :halign "start"
;; (label :text "🔒 Lock")
;; )
(button
:onclick "eww close power-menu && systemctl suspend"
:halign "start"
(label :text "⏾ Suspend")
)
(button
:onclick "eww close power-menu && systemctl reboot"
:halign "start"
(label :text "⟳ Reboot")
)
(button
:onclick "eww close power-menu && systemctl poweroff"
:halign "start"
(label :text "⏻ Shutdown")
)
)
)