You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

6 lines
124 B

#!/usr/bin/env sh
pidof "$KEYBOARD" >&2 || "$KEYBOARD" &
OUTPUT="$(cat | dmenu "$@")"
pkill "$KEYBOARD" >&2
echo "$OUTPUT"