diff options
| author | foswret <foswret@posteo.com> | 2025-09-02 09:25:18 -0500 |
|---|---|---|
| committer | foswret <foswret@posteo.com> | 2025-09-02 09:25:18 -0500 |
| commit | 7f0cad545d0ac4353a4417f2ef9ce820cc4b9ae5 (patch) | |
| tree | b4746d24f6787aa210936a3a245bce6791d5364c /config.def.h | |
| parent | 824feb01d61e9f20b8d7bb92afc227f0489e7cd7 (diff) | |
Diffstat (limited to 'config.def.h')
| -rwxr-xr-x[-rw-r--r--] | config.def.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index 2dd5090..bb87167 100644..100755 --- 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} }, }; /* |
