Simple utility to turn swipes into words -- "plugin" for wvkbd to enable swipe-typing under wayland SXMO.
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 80a7fe0..1137291 100644
--- a/README.md
+++ b/README.md
@@ -64,6 +64,23 @@ If your keys are in a hexagonal layout, use mapScore like
3. `wvkbd-mobintl -O | swipeGuess /path/to/words.txt | completelyTypeWord.sh`
* In SXMO, `KEYBOARD_ARGS='-O | swipeGuess /path/to/words.txt | completelyTypeWord.sh'` can be added to your ~/.profile to enable this (effective on restart).
+# Usage with phosh-osk-stub
+
+```
+gsettings set sm.puri.phosh.osk osk-features "['key-drag']"
+gsettings set sm.puri.phosh.osk.Completers.Pipe command 'swipeGuess /usr/share/swipeGuess/words/words-qwerty-en 5 | tr "\t" "\n"'
+gsettings set sm.puri.phosh.osk.Completers default pipe
+gsettings set sm.puri.phosh.osk completion-mode "['manual','hint']"
+```
+
+## Multiple suggestions
+
+phosh-osk-stub's pipe completer accepts multiple suggestions, newline separated. This can be scripted like
+
+```
+gsettings set sm.puri.phosh.osk.Completers.Pipe command 'sh -c "swipeGuess /usr/share/swipeGuess/words/words-qwerty-en 5 | tr \"\t\" \"\n\""'
+```
+
# Extended information
[SwipeBehaviors](https://git.sr.ht/~earboxer/SwipeBehaviors) is a project that uses swipeGuess and provides more advanced functionality, like presenting several choices that can be picked with [suggpicker](https://git.sr.ht/~earboxer/suggpicker).