From a744fe43cdb2387a81f52564fdc01f5b9e83d101 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Thu, 18 Apr 2024 11:07:13 +0200 Subject: [PATCH] update patches, keybinds --- config.h | 2 ++ patches.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index 7c249bb..486fd3e 100644 --- a/config.h +++ b/config.h @@ -211,6 +211,8 @@ static uint forcemousemod = ShiftMask; static MouseShortcut mshortcuts[] = { /* mask button function argument release screen */ + { ShiftMask, Button4, kscrollup, {.i = 1}, 0, S_PRI}, + { ShiftMask, Button5, kscrolldown, {.i = 1}, 0, S_PRI}, // { XK_ANY_MOD, Button2, clippaste, {.i = 0}, 1 }, // { ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} }, // { ShiftMask, Button5, ttysend, {.s = "\033[6;2~"} }, diff --git a/patches.h b/patches.h index f5b2434..7cab373 100644 --- a/patches.h +++ b/patches.h @@ -322,7 +322,7 @@ * This variant depends on SCROLLBACK_PATCH being enabled. * https://st.suckless.org/patches/scrollback/ */ -#define SCROLLBACK_MOUSE_PATCH 0 +#define SCROLLBACK_MOUSE_PATCH 1 /* Scroll back through terminal output using mouse wheel (when not in MODE_ALTSCREEN). * This variant depends on SCROLLBACK_PATCH being enabled. @@ -441,7 +441,7 @@ /* Vertically center lines in the space available if you have set a larger chscale in config.h * https://st.suckless.org/patches/vertcenter/ */ -#define VERTCENTER_PATCH 1 +#define VERTCENTER_PATCH 0 /* Briefly inverts window content on terminal bell event. * https://st.suckless.org/patches/visualbell/