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 "")))
|
:char "")))
|
||||||
|
|
||||||
(defwidget power []
|
(defwidget power []
|
||||||
(box :class "power" :valign "end" "⏻"))
|
(eventbox
|
||||||
|
:onclick "hyprctl dispatch exec 'wlogout'"
|
||||||
|
(box :class "power" :valign "end" "⏻")))
|
||||||
|
|
||||||
(defwidget tray []
|
(defwidget tray []
|
||||||
(systray :orientation "v" :icon-size 20))
|
(systray :orientation "v" :icon-size 20))
|
||||||
|
|
|
@ -43,6 +43,7 @@ let
|
||||||
"slurp"
|
"slurp"
|
||||||
"swaylock-effects"
|
"swaylock-effects"
|
||||||
"tofi"
|
"tofi"
|
||||||
|
"wlogout"
|
||||||
"wofi"
|
"wofi"
|
||||||
"zathura"
|
"zathura"
|
||||||
] pkgs ++ [ pkgs.hunspellDicts.en_US ];
|
] pkgs ++ [ pkgs.hunspellDicts.en_US ];
|
||||||
|
|
Loading…
Reference in a new issue