Bump up sxmo_appmenu.sh to allow 16 entries

To allow surf to show all entries in one page.. this is the
max we can allow without running into keyboard
master
Miles Alan 4 years ago
parent 5c1e382505
commit e20a467976
  1. 2
      scripts/core/sxmo_appmenu.sh

@ -380,7 +380,7 @@ mainloop() {
getprogchoices "$ARGS" getprogchoices "$ARGS"
echo "$PROGCHOICES" | echo "$PROGCHOICES" |
cut -d'^' -f1 | cut -d'^' -f1 |
dmenu -idx "$DMENUIDX" -l 14 -c -fn "Terminus-30" -p "$WINNAME" | ( dmenu -idx "$DMENUIDX" -l 16 -c -fn "Terminus-30" -p "$WINNAME" | (
PICKED="$(cat)" PICKED="$(cat)"
echo "$PICKED" | grep . || quit echo "$PICKED" | grep . || quit
LOOP="$(echo "$PROGCHOICES" | grep -m1 -F "$PICKED" | cut -d '^' -f2)" LOOP="$(echo "$PROGCHOICES" | grep -m1 -F "$PICKED" | cut -d '^' -f2)"

Loading…
Cancel
Save