diff options
| author | Malfurious <m@lfurio.us> | 2023-06-03 05:31:37 -0400 | 
|---|---|---|
| committer | Malfurious <m@lfurio.us> | 2023-06-03 21:46:48 -0400 | 
| commit | 3ad92c4639310132474143d355d75bd915f21eb4 (patch) | |
| tree | 1af117725497079798a5601574b42f95c016cfdf | |
| parent | fbabcc368dd31a01dccee055e004cbbf76ef6942 (diff) | |
| download | dwm-3ad92c4639310132474143d355d75bd915f21eb4.tar.gz dwm-3ad92c4639310132474143d355d75bd915f21eb4.zip  | |
config: Add browser keybinds
Diffstat (limited to '')
| -rw-r--r-- | config.def.h | 4 | 
1 files changed, 4 insertions, 0 deletions
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 } },  | 
