Simple utility to turn swipes into words -- "plugin" for wvkbd to enable swipe-typing under wayland SXMO.
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
dir="$1"
mkdir -p "$dir"
rm "$dir/"*
source "$(dirname "$0")/functions.sh"
while read -r line; do
	fl=$(firstLetter "$line")
	ll=$(lastLetter "$line")
	echo "$line" >> "$dir/$fl$ll"
done