update patches, keybinds
Build/Publish XBPS / build-and-publish (push) Successful in 9s Details

This commit is contained in:
Luca Bilke 2024-04-18 11:07:13 +02:00
parent dc51c13fb5
commit a744fe43cd
No known key found for this signature in database
GPG Key ID: AD6630D0A1E650AC
2 changed files with 4 additions and 2 deletions

View File

@ -211,6 +211,8 @@ static uint forcemousemod = ShiftMask;
static MouseShortcut mshortcuts[] = { static MouseShortcut mshortcuts[] = {
/* mask button function argument release /* mask button function argument release
screen */ 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 }, // { XK_ANY_MOD, Button2, clippaste, {.i = 0}, 1 },
// { ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} }, // { ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
// { ShiftMask, Button5, ttysend, {.s = "\033[6;2~"} }, // { ShiftMask, Button5, ttysend, {.s = "\033[6;2~"} },

View File

@ -322,7 +322,7 @@
* This variant depends on SCROLLBACK_PATCH being enabled. * This variant depends on SCROLLBACK_PATCH being enabled.
* https://st.suckless.org/patches/scrollback/ * 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). /* Scroll back through terminal output using mouse wheel (when not in MODE_ALTSCREEN).
* This variant depends on SCROLLBACK_PATCH being enabled. * 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 /* Vertically center lines in the space available if you have set a larger chscale in config.h
* https://st.suckless.org/patches/vertcenter/ * https://st.suckless.org/patches/vertcenter/
*/ */
#define VERTCENTER_PATCH 1 #define VERTCENTER_PATCH 0
/* Briefly inverts window content on terminal bell event. /* Briefly inverts window content on terminal bell event.
* https://st.suckless.org/patches/visualbell/ * https://st.suckless.org/patches/visualbell/