Add less|mless appmenus

Very usefull when displaying multiple files. It is used by mless, a
basic mblaze command to show emails.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
master
Stacy Harper 4 years ago committed by Anjandev Momi
parent fbd0f24c50
commit 6423ece891
No known key found for this signature in database
GPG Key ID: 58050E578C67D55A
  1. 11
      scripts/core/sxmo_appmenu.sh

@ -296,6 +296,17 @@ programchoicesinit() {
$icon_mnu St menu ^ 0 ^ sxmo_appmenu.sh st-256color
"
WINNAME=ncmpcpp
elif echo "$WMNAME" | grep -i -E -w "(less|mless)"; then
#less
CHOICES="
$icon_arr Page next ^ 1 ^ typeenter ':n'
$icon_arl Page previous ^ 1 ^ typeenter ':p'
$icon_zmi Zoom in ^ 1 ^ key Ctrl+Shift+Prior
$icon_zmo Zoom out ^ 1 ^ key Ctrl+Shift+Next
$icon_aru Scroll up ^ 1 ^ key Ctrl+Shift+b
$icon_ard Scroll down ^ 1 ^ key Ctrl+Shift+f
"
WINNAME=less
elif echo "$WMNAME" | grep -i -w "weechat"; then
#weechat
CHOICES="

Loading…
Cancel
Save