From: Silvio Rhatto Date: Sun, 17 Jul 2022 12:48:00 +0000 (-0300) Subject: Fix: xlock: fork X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d4ec95928868535669e76a0bb2c57e0c853977fb;p=utils-x11.git Fix: xlock: fork --- 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