summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorSaumit Dinesan <79687674+Saumit-D@users.noreply.github.com>2021-10-01 04:27:29 +0530
committerGitHub <noreply@github.com>2021-10-01 04:27:29 +0530
commitb60e8ab963a5687d0cbdb9acdc4c4bba90179c7b (patch)
tree6c69d86c6104e379b9b4bae86bec9ecf82eedff4 /config.def.h
parente6259012f0a245a107b538abf33f2b9911b062d5 (diff)
Update config.def.h
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 6f05dce..51d0236 100644
--- a/config.def.h
+++ b/config.def.h
@@ -174,6 +174,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"} },
@@ -199,6 +201,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} },
};
/*