diff options
author | Malfurious <m@lfurio.us> | 2020-06-26 22:47:41 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2024-08-12 13:16:51 -0400 |
commit | 9e01794d64ea08d09891adb843d7f11a0ec5bee8 (patch) | |
tree | 92ad7418335c8496ce6f7d151bc38ed2cf82a7b8 | |
parent | d22e02652bc086ceaec56c8b5b382240ec105899 (diff) | |
download | st-9e01794d64ea08d09891adb843d7f11a0ec5bee8.tar.gz st-9e01794d64ea08d09891adb843d7f11a0ec5bee8.zip |
config: Set mouse scroll amount to 5 lines
-rw-r--r-- | config.def.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h index 1c11c24..572ee7e 100644 --- a/config.def.h +++ b/config.def.h @@ -177,7 +177,7 @@ static uint forcemousemod = ShiftMask; * Internal mouse shortcuts. * Beware that overloading Button1 will disable the selection. */ -const unsigned int mousescrollincrement = 1; +const unsigned int mousescrollincrement = 5; static MouseShortcut mshortcuts[] = { /* mask button function argument release */ { XK_ANY_MOD, Button4, kscrollup, {.i = mousescrollincrement}, 0, /* !alt */ -1 }, @@ -185,8 +185,8 @@ static MouseShortcut mshortcuts[] = { { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 }, /* Be sure to modify Button4/5 codes whenever mousescrollincrement is updated! */ - { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} }, - { XK_ANY_MOD, Button5, ttysend, {.s = "\005"} }, + { XK_ANY_MOD, Button4, ttysend, {.s = "\031\031\031\031\031"} }, + { XK_ANY_MOD, Button5, ttysend, {.s = "\005\005\005\005\005"} }, }; /* Internal keyboard shortcuts. */ |