st-noxz

[fork] suckless st - personal fork
git clone git://git.noxz.tech/st-noxz
Log | Files | Refs | README | LICENSE

commit 133c8fc64e6a7a8b68545f5ed7b25f87dbf2c094
parent 35cb81e24c6d58b6412f614bdef6915785175b05
Author: Chris Noxz <chris@noxz.tech>
Date:   Wed, 14 Aug 2019 13:45:53 +0200

configure

Diffstat:
Mconfig.def.h | 12+++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)

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 = "Hack for Powerline:pixelsize=12:antialias=true:autohint=true"; static int borderpx = 2; /* redraw on signal */ @@ -65,11 +65,11 @@ static unsigned int cursorthickness = 2; * Bold affects lines thickness if boxdraw_bold is not 0. Italic is ignored. * 0: disable (render all U25XX glyphs normally from the font). */ -const int boxdraw = 0; +const int boxdraw = 1; const int boxdraw_bold = 0; /* braille (U28XX): 1: render as adjacent "pixels", 0: use font */ -const int boxdraw_braille = 0; +const int boxdraw_braille = 1; /* * bell volume. It must be a value between -100 and 100. Use 0 for disabling @@ -177,13 +177,19 @@ static Shortcut shortcuts[] = { { ControlMask, XK_Print, toggleprinter, {.i = 0} }, { ShiftMask, XK_Print, printscreen, {.i = 0} }, { XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, + + /* zoom */ { TERMMOD, XK_Prior, zoom, {.f = +1} }, { TERMMOD, XK_Next, zoom, {.f = -1} }, { TERMMOD, XK_Home, zoomreset, {.f = 0} }, + + /* copy and paste */ { TERMMOD, XK_C, clipcopy, {.i = 0} }, { TERMMOD, XK_V, clippaste, {.i = 0} }, { TERMMOD, XK_Y, selpaste, {.i = 0} }, { ShiftMask, XK_Insert, selpaste, {.i = 0} }, + + /* misc */ { TERMMOD, XK_Num_Lock, numlock, {.i = 0} }, };