feat(eww): add power button click
This commit is contained in:
parent
c34fea90fe
commit
9f19b0e60e
2 changed files with 4 additions and 1 deletions
|
@ -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))
|
||||
|
|
|
@ -43,6 +43,7 @@ let
|
|||
"slurp"
|
||||
"swaylock-effects"
|
||||
"tofi"
|
||||
"wlogout"
|
||||
"wofi"
|
||||
"zathura"
|
||||
] pkgs ++ [ pkgs.hunspellDicts.en_US ];
|
||||
|
|
Loading…
Reference in a new issue