give keyboard time to open

Sometimes the menu would open before keyboard in sxmo_menu_with_kb.sh.
Reproduce: from main menu, click texts.  A small pause is sufficient.
This is bad since then menu overlaps keyboard and you can't type esc
or numbers.

Signed-off-by: Anjandev Momi <anjan@momi.ca>
This commit is contained in:
Peter John Hartman
2023-01-19 19:40:24 -06:00
committed by Anjandev Momi
parent 375bf69803
commit 8bd1feb1cf

View File

@@ -7,6 +7,7 @@ if [ -n "$WAYLAND_DISPLAY$DISPLAY" ]; then
wasopen="1"
fi
sxmo_keyboard.sh open
sleep .1 # give keyboard time to open
fi
OUTPUT="$(cat | sxmo_dmenu.sh "$@")"