From dff68f0630e06705ece00cc2b9fdafb3c4888b31 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Fri, 13 Nov 2020 23:53:18 -0500 Subject: Add additional shortcuts to launch terminals with larger fonts --- config.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 52c64a6..63afa43 100644 --- a/config.h +++ b/config.h @@ -1,5 +1,8 @@ /* See LICENSE file for copyright and license details. */ +#define PROFONT_LARGE "ProfontOTB:pixelsize=14:antialias=false:autohint=false" +#define PROFONT_SMALL "ProfontOTB:pixelsize=10:antialias=false:autohint=false" +#define ROBOTO_YUGE "RobotoMono-Regular:pixelsize=18:antialias=true:autohint=true" #define FONT_SCIENTIFICA "scientifica:pixelsize=10:antialias=false:autohint=false" #define FONT_CURIE "curieMedium:pixelsize=10:antialias=false:autohint=false" @@ -79,6 +82,8 @@ static const Layout layouts[] = { static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", DMENU_FLAGS, NULL }; static const char *termcmd[] = { "st", NULL }; +static const char *termcmdLarge[] = { "st", "-f", PROFONT_LARGE, NULL }; +static const char *termcmdYuge[] = { "st", "-f", ROBOTO_YUGE, NULL }; static const char *passcmd[] = { "passmenu", DMENU_FLAGS, NULL }; static const char *passcmd_type[] = { "passmenu", "--type", DMENU_FLAGS, NULL }; static const char *snip_cmd[] = { "snipmenu", DMENU_FLAGS, NULL }; @@ -90,6 +95,8 @@ static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_d, spawn, {.v = dmenucmd } }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, + { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmdLarge } }, + { MODKEY|ControlMask|ShiftMask, XK_Return, spawn, {.v = termcmdYuge } }, { MODKEY, XK_p, spawn, {.v = passcmd } }, { MODKEY|ShiftMask, XK_p, spawn, {.v = screenshot_cmd } }, { MODKEY, XK_o, spawn, {.v = passcmd_type } }, -- cgit v1.2.3