]> gitweb.fluxo.info Git - utils-x11.git/commitdiff
Fix: xlock: fork
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 17 Jul 2022 12:48:00 +0000 (09:48 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 17 Jul 2022 12:48:00 +0000 (09:48 -0300)
xlock

diff --git a/xlock b/xlock
index 04adf42029a3c5dc9df1ab81982b60c675b0fa8e..23fbebc5cd038fb4bb88fd3fe22c6e40669ada99 100755 (executable)
--- 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