scripts: Fix posix compliance for sb_picker and some shellcheck sniffs
predictor: make strictly posix compliant
predictor: hide missing file error
SwipeBehaviors is a collection of programs intended to be used in a pipeline to interpret swipes from a virtual keyboard. Programs should not require arguments, and may rely on other programs or files.
wvkbd is one such keyboard, implementing swipe output with the -O
flag.
In SXMO, intended usage is by defining KEYBOARD_ARGS="-H 170 -O | swipeB", then copying or sym-linking your favorite behavior to ~/.local/bin/swipeB
. Then you can easily switch behavior by changing the link and relaunching the keyboard.
WARNING: With wvkbd before version v0.8, using a broken script can render your virtual keyboard broken. Make sure you have a way of recovery (e.g. SSH or ttyescape) before messing with scripts so you don't end up in a keyboard death-loop.
-e -o
.