From 916e83a50d1db527c19227a8f18d1526b1b3ddec Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Tue, 11 Jul 2023 22:12:49 +0530 Subject: [PATCH] remove sway dependency --- packages/scripts/power-menu.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/scripts/power-menu.sh b/packages/scripts/power-menu.sh index c58dd73..f44eaf6 100755 --- a/packages/scripts/power-menu.sh +++ b/packages/scripts/power-menu.sh @@ -2,7 +2,6 @@ set -eu -SWAYSOCK=${SWAYSOCK:-} HYPRLAND_INSTANCE_SIGNATURE=${HYPRLAND_INSTANCE_SIGNATURE:-} chpower() { @@ -19,7 +18,6 @@ chpower() { exec systemctl hibernate ;; Logout) - [ -n "$SWAYSOCK" ] && swaymsg exit [ -n "$HYPRLAND_INSTANCE_SIGNATURE" ] && hyprctl dispatch exit ;; *)