remove sway dependency
This commit is contained in:
parent
b1566efd63
commit
916e83a50d
1 changed files with 0 additions and 2 deletions
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
SWAYSOCK=${SWAYSOCK:-}
|
|
||||||
HYPRLAND_INSTANCE_SIGNATURE=${HYPRLAND_INSTANCE_SIGNATURE:-}
|
HYPRLAND_INSTANCE_SIGNATURE=${HYPRLAND_INSTANCE_SIGNATURE:-}
|
||||||
|
|
||||||
chpower() {
|
chpower() {
|
||||||
|
@ -19,7 +18,6 @@ chpower() {
|
||||||
exec systemctl hibernate
|
exec systemctl hibernate
|
||||||
;;
|
;;
|
||||||
Logout)
|
Logout)
|
||||||
[ -n "$SWAYSOCK" ] && swaymsg exit
|
|
||||||
[ -n "$HYPRLAND_INSTANCE_SIGNATURE" ] && hyprctl dispatch exit
|
[ -n "$HYPRLAND_INSTANCE_SIGNATURE" ] && hyprctl dispatch exit
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue