aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxlock5
1 files changed, 4 insertions, 1 deletions
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