aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-07-17 09:48:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-07-17 09:48:00 -0300
commitd4ec95928868535669e76a0bb2c57e0c853977fb (patch)
tree219d70d9e5521bfe8db3fe01761164b2169ca4ee
parent8e0b7b4563391fec6fbc95d4ea0821e71c30fd07 (diff)
downloadutils-x11-d4ec95928868535669e76a0bb2c57e0c853977fb.tar.gz
utils-x11-d4ec95928868535669e76a0bb2c57e0c853977fb.tar.bz2
Fix: xlock: fork
-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