Created
March 22, 2021 10:23
rebind zoom to ctrl shift +/- font and font size
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -u a/config.def.h b/config.def.h | |
--- a/config.def.h 2020-06-19 12:29:45.000000000 +0300 | |
+++ b/config.def.h 2021-03-22 12:19:09.951353976 +0200 | |
@@ -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 = "RobotoMono Nerd Font Mono:pixelsize=30:antialias=true:autohint=true"; | |
static int borderpx = 2; | |
/* | |
@@ -191,8 +191,8 @@ | |
{ 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_plus, zoom, {.f = +1} }, | |
+ { TERMMOD, XK_underscore, zoom, {.f = -1} }, | |
{ TERMMOD, XK_Home, zoomreset, {.f = 0} }, | |
{ TERMMOD, XK_C, clipcopy, {.i = 0} }, | |
{ TERMMOD, XK_V, clippaste, {.i = 0} }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment