From f06dfebcd676d6536cf24ea1fb66acf3f2ff7b1c Mon Sep 17 00:00:00 2001 From: ktyl Date: Tue, 7 Jun 2022 21:59:21 +0100 Subject: [PATCH] update quit command --- config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.h b/config.h index 7c4c398..b46e538 100644 --- a/config.h +++ b/config.h @@ -59,11 +59,13 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_pink, "-nf", col_gray1, "-sb", col_gray1, "-sf", col_gray3, NULL }; +static const char *browsercmd[] = { "qutebrowser", NULL }; static const char *termcmd[] = { "kitty", NULL }; static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, + { MODKEY, XK_q, spawn, {.v = browsercmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, @@ -95,7 +97,7 @@ static Key keys[] = { TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) - { MODKEY|ShiftMask, XK_q, quit, {0} }, + { MODKEY|ShiftMask, XK_grave, quit, {0} }, }; /* button definitions */