From 50388db291684622d5bbd6203dad9e1e2ff25fcb Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Sun, 31 Dec 2023 19:56:28 +0545 Subject: [PATCH] minor fix --- config/hypr/scripts/RofiPower.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/hypr/scripts/RofiPower.sh b/config/hypr/scripts/RofiPower.sh index c8aaa090..2ee61e3b 100755 --- a/config/hypr/scripts/RofiPower.sh +++ b/config/hypr/scripts/RofiPower.sh @@ -35,7 +35,7 @@ run_cmd() { swaylock & ;; "") - systemctl suspend + swaylock -f && systemctl suspend ;; "󰿅") hyprctl dispatch exit 0 @@ -47,7 +47,7 @@ run_cmd() { systemctl poweroff ;; "󰒲") - systemctl hibernate + swaylock -f && systemctl hibernate ;; *) echo "choose: $1"