st

my build of st
git clone git://git.hanetzok.net/st
Log | Files | Refs | README | LICENSE

commit bd1b7c5f0c5990fb1015956e99757dcc23f89162
parent a0274bc20e11d8672bb2953fdd1d3010c0e708c5
Author: Markus Hanetzok <markus@hanetzok.net>
Date:   Mon, 11 Nov 2024 12:58:31 +0100

update config

Diffstat:
A.gitignore | 5+++++
Mconfig.def.h | 14+++++++-------
2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1,5 @@ +st +config.h +*.o +*.orig +*.rej diff --git 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 = "Liberation Mono:pixelsize=12:antialias=true:autohint=true"; +static char *font = "monospace:pixelsize=12:antialias=true:autohint=true"; static int borderpx = 2; /* @@ -185,7 +185,7 @@ static MouseShortcut mshortcuts[] = { /* Internal keyboard shortcuts. */ #define MODKEY Mod1Mask -#define TERMMOD (ControlMask|ShiftMask) +#define TERMMOD (Mod1Mask|ShiftMask) static Shortcut shortcuts[] = { /* mask keysym function argument */ @@ -193,11 +193,11 @@ static Shortcut shortcuts[] = { { ControlMask, XK_Print, toggleprinter, {.i = 0} }, { ShiftMask, XK_Print, printscreen, {.i = 0} }, { XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, - { TERMMOD, XK_Prior, zoom, {.f = +1} }, - { TERMMOD, XK_Next, zoom, {.f = -1} }, - { TERMMOD, XK_Home, zoomreset, {.f = 0} }, - { TERMMOD, XK_C, clipcopy, {.i = 0} }, - { TERMMOD, XK_V, clippaste, {.i = 0} }, + { TERMMOD, XK_K, zoom, {.f = +1} }, + { TERMMOD, XK_J, zoom, {.f = -1} }, + { TERMMOD, XK_space, zoomreset, {.f = 0} }, + { MODKEY, XK_c, clipcopy, {.i = 0} }, + { MODKEY, XK_v, clippaste, {.i = 0} }, { TERMMOD, XK_Y, selpaste, {.i = 0} }, { ShiftMask, XK_Insert, selpaste, {.i = 0} }, { TERMMOD, XK_Num_Lock, numlock, {.i = 0} },