if the keyboard is open, 7 lines in horizontal and 23 lines in vertical is too much in order to enter data. This especially affects the Dialer and Text menus. I lowered the numbers.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
This commit is contained in:
Peter John Hartman (wart) 2021-08-25 08:49:29 -05:00 committed by Stacy Harper
parent 9f6af8abcc
commit b46a347d85
No known key found for this signature in database
GPG key ID: 5BAC92328B7C5D65

View file

@ -31,7 +31,11 @@ case "$(sxmo_wm.sh)" in
exec bemenu --scrollbar autohide -n -w -c -l "$(sxmo_rotate.sh isrotated && printf 5 || printf 15)" "$@"
;;
xorg|dwm)
exec dmenu -c -l "$(sxmo_rotate.sh isrotated && printf 7 || printf 23)" "$@"
if sxmo_keyboard.sh isopen; then
exec dmenu -c -l "$(sxmo_rotate.sh isrotated && printf 2 || printf 5)" "$@"
else
exec dmenu -c -l "$(sxmo_rotate.sh isrotated && printf 7 || printf 23)" "$@"
fi
;;
ssh)
export BEMENU_BACKEND=curses