Fix bug in example screenlock script

This commit is contained in:
Neale Pickett 2008-04-17 13:05:03 -06:00
parent 4f71fb21c9
commit 1d7330dce4
1 changed files with 1 additions and 1 deletions

2
README
View File

@ -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 xcursorpos | (read x y; [ $x -lt 20 -a $y -lt 20 ]) && exit 0
xsswin magic XSS_WINDOW & xsswin magic XSS_WINDOW &
pid=$! pid=$!
xkeygrab | (while [ "$l" != "secret" ]; do read l; done) xkeygrab | (while read l; do [ "$l" != "secret" ] && break; done)
kill $pid kill $pid