[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.
This commit is contained in:
Bruno BELANYI 2019-07-18 16:27:30 +02:00
parent 3f7f725e61
commit 45f9d9d677

View file

@ -1,8 +1,8 @@
# Allow inclusion of home directories in ~/.Xresources # Allow inclusion of home directories in ~/.Xresources
xrdb -I$HOME ~/.Xresources xrdb -I$HOME ~/.Xresources
# Autolock after 1 minute without any input, unless the mouse is in the corner # Autolock after 1 minute without any input, lock on upper-left, don't in lower-right
xautolock -time 1 -corners 000+ -locker "~/scripts/i3exit lock" xautolock -time 1 -cornerredelay 5 -corners +00- -locker "~/scripts/i3exit lock" &
# Launch i3 # Launch i3
exec i3 exec i3