~mil/sxmo-utils

ref: 33e6ce14b39c2a5ef57382f85df47b8d2fa60818 sxmo-utils/scripts/core/sxmo_dmenu_with_kb.sh -rwxr-xr-x 181 bytes
33e6ce14Stacy Harper sxmo_contactmenu.sh now use sxmo_contacts.sh 9 months ago
                                                                                
1
2
3
4
5
6
7
8
#!/usr/bin/env sh

wasopen="$(sxmo_keyboard.sh isopen && echo "yes")"

sxmo_keyboard.sh open
OUTPUT="$(cat | dmenu "$@")"
[ -z "$wasopen" ] && sxmo_keyboard.sh close
echo "$OUTPUT"