keyb
keyb copied to clipboard
Keyboard input with xdotool
xdotool can simulate keystrokes from stdin.
Although untested, perhaps keyb could start in a special mode where any selection could be piped into xdotool to simulate the keystroke:
$ keyb --xdotool | xdotool key
like how fzf
is often used.