[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:
parent
3f7f725e61
commit
45f9d9d677
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue