--
Signed-off-by: dtb <git@trinity.moe>
This commit is contained in:
parent
16adaa52f7
commit
07371c9c53
@ -63,15 +63,16 @@ rotatemousedirection(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
usage(){
|
usage(){
|
||||||
printf 'Usage: %s (-ch)\n' "$0">&2
|
printf 'Usage: %s (-ch) (-s [action delay seconds])\n' "$0">&2
|
||||||
exit 64 # sysexits(3) EX_USAGE
|
exit 64 # sysexits(3) EX_USAGE
|
||||||
}
|
}
|
||||||
|
|
||||||
while getopts :ch OPTION
|
while getopts :chs: OPTION
|
||||||
do
|
do
|
||||||
case "$OPTION" in
|
case "$OPTION" in
|
||||||
c) XJIGGLER_MOUSE_DIRECTION=circular ;;
|
c) XJIGGLER_MOUSE_DIRECTION=circular ;;
|
||||||
*) usage ;;
|
s) XJIGGLER_DELAY_ACTION="$(OPTARG)" ;;
|
||||||
|
*) usage ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user