From 7eca502b6a5598a846903495cfa94c115644bcea Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sat, 3 Jun 2023 05:31:37 -0400 Subject: config: Add browser keybinds --- config.def.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.def.h b/config.def.h index ef95a02..d73818d 100644 --- a/config.def.h +++ b/config.def.h @@ -60,6 +60,8 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, static const char *termcmd[] = { "st", NULL }; static const char *slockcmd[] = { "slock", NULL }; static const char *slockucmd[] = { "slock", "-u", NULL }; +static const char *browsercmd[] = { "qutebrowser", NULL }; +static const char *browserpcmd[] = { "qutebrowser", "--target", "private-window", NULL }; static const Key keys[] = { /* modifier key function argument */ @@ -67,6 +69,8 @@ static const Key keys[] = { { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_z, spawn, {.v = slockcmd } }, { MODKEY|ShiftMask, XK_z, spawn, {.v = slockucmd } }, + { MODKEY|ShiftMask, XK_backslash, spawn, {.v = browsercmd } }, + { MODKEY|ControlMask|ShiftMask, XK_backslash, spawn, {.v = browserpcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, -- cgit v1.2.3