From 45f9d9d6775ffc2de7c4e943f55c3493a361def8 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 18 Jul 2019 16:27:30 +0200 Subject: [PATCH] [FIX][I3] Change xautolock mouse corner handling It will lock five seconds after putting the cursor in the upper left corner, and will not ever lock if the mouse is in the lower right corner. --- X/.xinitrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/X/.xinitrc b/X/.xinitrc index 21c4703..14b9bc9 100644 --- a/X/.xinitrc +++ b/X/.xinitrc @@ -1,8 +1,8 @@ # Allow inclusion of home directories in ~/.Xresources xrdb -I$HOME ~/.Xresources -# Autolock after 1 minute without any input, unless the mouse is in the corner -xautolock -time 1 -corners 000+ -locker "~/scripts/i3exit lock" +# Autolock after 1 minute without any input, lock on upper-left, don't in lower-right +xautolock -time 1 -cornerredelay 5 -corners +00- -locker "~/scripts/i3exit lock" & # Launch i3 exec i3