~earboxer/SwipeBehaviors

SwipeBehaviors/SwipeBehavior.7.scd -rw-r--r-- 1.1 KiB
2414e6b2Zach DeCook Documentation: Add man pages in scdoc format 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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)