all repos — dotfiles @ f158d1fa05f036a187d999c2555d19b322d5ce21

my *nix dotfiles

st/patches/st-scrollback-mouse-20191024-a2c479c.diff (view raw)

 1diff --git a/config.def.h b/config.def.h
 2index ec1b576..4b3bf15 100644
 3--- a/config.def.h
 4+++ b/config.def.h
 5@@ -163,6 +163,8 @@ static uint forcemousemod = ShiftMask;
 6  */
 7 static MouseShortcut mshortcuts[] = {
 8 	/* mask                 button   function        argument       release */
 9+	{ ShiftMask,            Button4, kscrollup,      {.i = 1} },
10+	{ ShiftMask,            Button5, kscrolldown,    {.i = 1} },
11 	{ XK_ANY_MOD,           Button2, selpaste,       {.i = 0},      1 },
12 	{ XK_ANY_MOD,           Button4, ttysend,        {.s = "\031"} },
13 	{ XK_ANY_MOD,           Button5, ttysend,        {.s = "\005"} },