aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorLoek Le Blansch <l.leblansch@gmail.com>2020-07-16 09:19:49 +0200
committerLoek Le Blansch <l.leblansch@gmail.com>2020-07-16 09:19:49 +0200
commitceb9a9b237f4a406f7d4ad5750b1ec07d8575bba (patch)
tree86e36c545103180c31974d260793209b4a7375ac /config.def.h
parent75899e5c7bfb3dbc72bcd2f613b5532d909dc05f (diff)
scrollback-mouse
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 93cbcc0..1241b6d 100644
--- a/config.def.h
+++ b/config.def.h
@@ -5,8 +5,8 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
-static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
-static int borderpx = 2;
+static char *font = "JetBrainsMono NF:pixelsize=13:antialias=true:autohint=true";
+static int borderpx = 0;
/*
* What program is execed by st depends of these precedence rules:
@@ -174,6 +174,8 @@ static uint forcemousemod = ShiftMask;
*/
static MouseShortcut mshortcuts[] = {
/* mask button function argument release */
+ { XK_NO_MOD, Button4, kscrollup, {.i = 1} },
+ { XK_NO_MOD, 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"} },