Reorder netsurf in app menu program choices init to it applies before surf

master
Miles Alan 5 years ago
parent 546d2209a7
commit 8e5763a281
  1. 18
      scripts/core/sxmo_appmenu.sh

@ -87,6 +87,15 @@ programchoicesinit() {
Send Ctrl-D ^ 0 ^ key Ctrl+d
")" && WINNAME=st && return
# Netsurf
echo $WMCLASS | grep -i netsurf && CHOICES="$(echo "
Pipe URL ^ 0 ^ sxmo_urlhandler.sh
Zoom + ^ 1 ^ key Ctrl+plus
Zoom - ^ 1 ^ key Ctrl+minus
History ← ^ 1 ^ key Alt+Left
History → ^ 1 ^ key Alt+Right
")" && WINNAME=netsurf && return
# Surf
echo $WMCLASS | grep surf && CHOICES="$(echo "
Navigate ^ 0 ^ key Ctrl+g
@ -102,15 +111,6 @@ programchoicesinit() {
History → ^ 1 ^ key Ctrl+l
")" && WINNAME=surf && return
# Netsurf
echo $WMCLASS | grep -i netsurf && CHOICES="$(echo "
Pipe URL ^ 0 ^ sxmo_urlhandler.sh
Zoom + ^ 1 ^ key Ctrl+plus
Zoom - ^ 1 ^ key Ctrl+minus
History ← ^ 1 ^ key Alt+Left
History → ^ 1 ^ key Alt+Right
")" && WINNAME=netsurf && return
# Firefox
echo $WMCLASS | grep -i firefox && CHOICES="$(echo "
Pipe URL ^ 0 ^ sxmo_urlhandler.sh

Loading…
Cancel
Save