st

My fork of st.
git clone git://git.alex.balgavy.eu/st.git
Log | Files | Refs | README | LICENSE

commit e37caad8ac58230d262013701cb3c51fe7c8049a
parent 78756f64203207cfad0c3633b71f3ec1d283e414
Author: Alex Balgavy <alexander.balgavy@spaceapplications.com>
Date:   Fri, 22 Dec 2023 23:55:32 +0100

Key bindings

Diffstat:
Mconfig.h | 6+++---
Mconfig.mk | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/config.h b/config.h @@ -233,9 +233,9 @@ 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_plus, zoom, {.f = +1} }, + { TERMMOD, XK_underscore, zoom, {.f = -1} }, + { TERMMOD, XK_parenright, zoomreset, {.f = 0} }, { TERMMOD, XK_C, clipcopy, {.i = 0} }, { TERMMOD, XK_V, clippaste, {.i = 0} }, { TERMMOD, XK_Y, selpaste, {.i = 0} }, diff --git a/config.mk b/config.mk @@ -13,7 +13,7 @@ X11LIB = /usr/X11R6/lib PKG_CONFIG = pkg-config # includes and libs -INCS = -I$(X11INC) \ +INCS = -I/usr/local/include -I$(X11INC) \ `$(PKG_CONFIG) --cflags fontconfig` \ `$(PKG_CONFIG) --cflags freetype2` LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \