fix: close EWW power menu on button press
This commit is contained in:
parent
2981dca288
commit
c029404eaa
1 changed files with 5 additions and 5 deletions
|
|
@ -256,23 +256,23 @@
|
|||
(box :class "power"
|
||||
:orientation "v"
|
||||
(box :orientation "h"
|
||||
(button :onclick "systemctl suspend"
|
||||
(button :onclick "${EWW_CMD} close power; systemctl suspend"
|
||||
:tooltip "Sleep"
|
||||
(box :style "color: #9aa5ce;"
|
||||
""))
|
||||
(button :onclick "hyprlock --immediate &"
|
||||
(button :onclick "${EWW_CMD} close power; hyprlock --immediate &"
|
||||
:tooltip "Lock"
|
||||
(box :style "color: #cfc9c2;"
|
||||
""))
|
||||
(button :onclick "hyprctl dispatch exit"
|
||||
(button :onclick "${EWW_CMD} close power; hyprctl dispatch exit"
|
||||
:tooltip "Log Out"
|
||||
(box :style "color: #7dcfff; padding-left: 0.3ex;"
|
||||
""))
|
||||
(button :onclick "reboot"
|
||||
(button :onclick "${EWW_CMD} close power; reboot"
|
||||
:tooltip "Reboot"
|
||||
(box :style "color: #e0af68;"
|
||||
""))
|
||||
(button :onclick "poweroff"
|
||||
(button :onclick "${EWW_CMD} close power; poweroff"
|
||||
:tooltip "Shutdown"
|
||||
(box :style "color: #f7768e; font-size: 1.35em; padding-bottom: 0.15ex;"
|
||||
"⏼")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue