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

This commit is contained in:
Miles Alan 2020-05-12 19:16:58 -05:00
parent 546d2209a7
commit 8e5763a281

View file

@ -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