From 3360909f335a7ac4392e8d70d029c90b7a734353 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Fri, 2 Oct 2020 13:04:31 +0200 Subject: [PATCH] Lock screen before suspend --- Bin/i3quit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bin/i3quit.sh b/Bin/i3quit.sh index 288d6c2..01cc987 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) systemctl suspend & ;; + 2) ~/Bin/lock.sh & systemctl suspend & ;; 3) systemctl reboot & ;; 4) exit ;; esac