diff options
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index e0913e4..6547948 100644 --- a/config.def.h +++ b/config.def.h @@ -15,7 +15,12 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char *font = "JetBrains Mono Nerd Font Mono:pixelsize=18:antialias=true:autohint=true"; +// static char *font = "JetBrains Mono Nerd Font Mono:pixelsize=18:antialias=true:autohint=true"; +static char *fonts[] = { + "JetBrains Mono Nerd Font Mono:pixelsize=18:antialias=true:autohint=true", + "SF Mono:pixelsize=18:antialias=true:autohint=true", +}; +static size_t currentfont = 0; static int borderpx = 2; /* @@ -262,6 +267,7 @@ static Shortcut shortcuts[] = { { XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, { ControlMask, XK_plus, zoom, {.f = +1} }, { ControlMask, XK_minus, zoom, {.f = -1} }, + { TERMMOD, XK_S, cyclefonts, {} }, komputer({ TERMMOD, XK_Prior, zoom, {.f = +1} },) komputer({ TERMMOD, XK_Next, zoom, {.f = -1} },) { TERMMOD, XK_Home, zoomreset, {.f = 0} }, |
