diff options
author | sinanmohd <pcmsinan@gmail.com> | 2021-02-24 18:47:45 +0530 |
---|---|---|
committer | sinanmohd <pcmsinan@gmail.com> | 2021-02-24 18:47:45 +0530 |
commit | 3374e0e3b3a2ed27cc8f635a98895d1d5574ddce (patch) | |
tree | 1c7d74d8c3376c8cd36a9593e9f1b4ff78c29411 /config.def.h | |
parent | 951e8a4fee485aa92d92a4fbb062745c408e8347 (diff) |
scroll
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 4b5924d..8cd9e6c 100644 --- a/config.def.h +++ b/config.def.h @@ -178,6 +178,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"} }, @@ -203,6 +205,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} }, }; /* |