diff options
| author | Zach DeCook <zachdecook@librem.one> | 2022-06-29 20:13:45 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2022-06-29 20:39:21 -0400 |
| commit | 2414e6b200348b7c37b44ff77a9ba668b92dc9c6 (patch) | |
| tree | 2d73e9196aa4272241e34ec7771a07752adffc6c /SwipeBehavior.7.scd | |
| parent | 1a18ec96509414fc4f2e297fb8901f038a412f0c (diff) | |
| download | SwipeBehaviors-2414e6b200348b7c37b44ff77a9ba668b92dc9c6.tar.gz | |
Documentation: Add man pages in scdoc format
Diffstat (limited to 'SwipeBehavior.7.scd')
| -rw-r--r-- | SwipeBehavior.7.scd | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/SwipeBehavior.7.scd b/SwipeBehavior.7.scd new file mode 100644 index 0000000..79061a2 --- /dev/null +++ b/SwipeBehavior.7.scd @@ -0,0 +1,46 @@ +SwipeBehavior(7) "SwipeBehaviors" + +# NAME +SwipeBehavior - provide function for swipe keyboard + +# SYNOPSIS + +``` +wvkbd -O | sb_something.sh +``` + +# DESCRIPTION + +A _SwipeBehavior_ is a program which provides extra functionality to a swipe-capable keyboard. + +. The swipe-capable keyboard writes a line of output, representing what keys were intersected during a swipe. +. The _SwipeBehavior_ acts on that. +. This repeats as you use the keyboard. +. When the swipe-capable keyboard closes its stream, the _SwipeBehavior_ quits itself. + +A _SwipeBehavior_ could do many things +- typing words +- prompt the user for more input +- log your keystrokes for the NSA + +So, you should obviously only use trustworthy software as your _SwipeBehavior_ (i.e. free software which you have audited yourself). + +# EXAMPLES + +To use a _SwipeBehavior_ linked to by *swipeB* in SXMO-sway,++ +put this in your profile and relog. + +``` +export KEYBOARD_ARGS="-O | swipeB" +``` + +Then you can choose your preferred behavior using a symlink, e.g. + +``` +ln -s "$(which sb_something.sh)" ~/.local/bin/swipeB +``` + +and reopen the keyboard. + +# SEE ALSO +*suggpicker*(1) *wvkbd*(1) |
