diff options
| author | Zach DeCook <zachdecook@librem.one> | 2024-10-11 20:00:24 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2024-10-11 20:00:24 -0400 |
| commit | a1b932da2da9ba616f3aa84a5afd82894637378f (patch) | |
| tree | b49b3a7db7396d51201bea08384104b3a1a3fe0a /README.md | |
| parent | fe1b75c83d620e8fcf0db67b97a63a9ec0127371 (diff) | |
| download | swipeGuess-master.tar.gz | |
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 17 |
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). |
