From d4ec95928868535669e76a0bb2c57e0c853977fb Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 17 Jul 2022 09:48:00 -0300 Subject: Fix: xlock: fork --- xlock | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xlock b/xlock index 04adf42..23fbebc 100755 --- a/xlock +++ b/xlock @@ -17,7 +17,10 @@ sleep 1 # Using i3lock # Ensure it is not forked or we might loose window focus after unlocking -i3lock -c 1c1c1c -n +#i3lock -c 1c1c1c -n + +# Using i3lock with forking, so works well with xsuspend +i3lock -c 1c1c1c # Restore focus #xdotool windowfocus $WINDOW -- cgit v1.2.3