diff --git a/config.def.h b/config.def.h index 1615386..ea7fb28 100644 --- a/config.def.h +++ b/config.def.h @@ -182,6 +182,11 @@ static uint forcemousemod = ShiftMask; */ const unsigned int mousescrollrate = 1; +/* + * The rate to zoom in (adjust the font size). + */ +const int zoomrate = 1; + /* * Internal mouse shortcuts. * Beware that overloading Button1 will disable the selection. @@ -207,8 +212,8 @@ 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_Prior, zoom, {.f = zoomrate * +1} }, + { TERMMOD, XK_Next, zoom, {.f = zoomrate * -1} }, { TERMMOD, XK_Home, zoomreset, {.f = 0} }, { TERMMOD, XK_C, clipcopy, {.i = 0} }, { TERMMOD, XK_V, clippaste, {.i = 0} },