From 7f0cad545d0ac4353a4417f2ef9ce820cc4b9ae5 Mon Sep 17 00:00:00 2001 From: foswret Date: Tue, 2 Sep 2025 09:25:18 -0500 Subject: Applied scrollback, alpha, and anysize patch --- config.def.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) mode change 100644 => 100755 config.def.h (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h old mode 100644 new mode 100755 index 2dd5090..bb87167 --- a/config.def.h +++ b/config.def.h @@ -5,7 +5,7 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char *font = "Adwaita Mono:pixelsize=14:antialias=true:autohint=true"; +static char *font = "LiterationMono Nerd Font:pixelsize=16:antialias=true:autohint=true"; static int borderpx = 2; /* @@ -93,6 +93,9 @@ char *termname = "st-256color"; */ unsigned int tabspaces = 8; +/* bg opacity */ +float alpha = 0.8; + /* Terminal colors (16 first used in escape sequence) */ static const char *colorname[] = { /* 8 normal colors */ @@ -212,6 +215,8 @@ ResourcePref resources[] = { */ static MouseShortcut mshortcuts[] = { /* mask button function argument release */ + { ShiftMask, Button4, kscrollup, {.i = 1} }, + { ShiftMask, 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"} }, @@ -237,6 +242,8 @@ static Shortcut shortcuts[] = { { TERMMOD, XK_Y, selpaste, {.i = 0} }, { ShiftMask, XK_Insert, selpaste, {.i = 0} }, { TERMMOD, XK_Num_Lock, numlock, {.i = 0} }, + { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} }, + { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} }, }; /* -- cgit v1.2.3