From ef288a00f5b2408b794d245e06d28bbec3dc72d0 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Fri, 9 Oct 2020 21:34:52 +0200 Subject: [PATCH] Updated suspend script --- Bin/i3quit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bin/i3quit.sh b/Bin/i3quit.sh index 01cc987..236576b 100755 --- a/Bin/i3quit.sh +++ b/Bin/i3quit.sh @@ -8,7 +8,7 @@ choice=`echo -e "0: Logout\n1: Shutdown\n2: Suspend\n3: Reboot\n4: Cancel" | rof case "$choice" in 0) i3-msg exit & ;; 1) systemctl poweroff & ;; - 2) ~/Bin/lock.sh & systemctl suspend & ;; + 2) ~/Bin/lock.sh & sleep 2 && systemctl suspend & ;; 3) systemctl reboot & ;; 4) exit ;; esac