commit 6e114f1c667503608669f194ed73e62ff1997b9a
parent 3163c15d5c635d28ee5689be9de48381c68bf2dd
Author: q <qwolkensperg@gmail.com>
Date: Fri, 26 Jun 2020 22:04:27 -0400
heall yeah 5
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -191,6 +191,8 @@ static uint forcemousemod = ShiftMask;
*/
static MouseShortcut mshortcuts[] = {
/* mask button function argument release */
+ { ShiftMask, Button4, kscrollup, {.i = 1} },
+ { ShiftMask, Button5, kscrolldown, {.i = 1} },
{ XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
{ ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
{ XK_ANY_MOD, Button4, ttysend, {.s = "\031"} },
diff --git a/config.def.h.orig b/config.def.h.orig
@@ -216,6 +216,8 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
+ { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
+ { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
};
/*