mirror of https://github.com/9wm/xss.git
Fix bug in example screenlock script
This commit is contained in:
parent
4f71fb21c9
commit
1d7330dce4
2
README
2
README
|
@ -37,7 +37,7 @@ do anything if the cursor is in the upper-left corner:
|
|||
xcursorpos | (read x y; [ $x -lt 20 -a $y -lt 20 ]) && exit 0
|
||||
xsswin magic XSS_WINDOW &
|
||||
pid=$!
|
||||
xkeygrab | (while [ "$l" != "secret" ]; do read l; done)
|
||||
xkeygrab | (while read l; do [ "$l" != "secret" ] && break; done)
|
||||
kill $pid
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue