Add more keybindings
This commit is contained in:
parent
99631440cd
commit
7b65ab4d15
8
config.h
8
config.h
@ -62,11 +62,19 @@ static const Layout layouts[] = {
|
|||||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
||||||
static const char *dmenucmd[] = { "vonalc", "toggle", NULL };
|
static const char *dmenucmd[] = { "vonalc", "toggle", NULL };
|
||||||
static const char *termcmd[] = { "wezterm", NULL };
|
static const char *termcmd[] = { "wezterm", NULL };
|
||||||
|
static const char *browsercmd[] = { "firefox", "--private-window", NULL };
|
||||||
|
static const char *editorcmd[] = { "codium", NULL };
|
||||||
|
static const char *fmcmd[] = { "nautilus", NULL };
|
||||||
|
static const char *keepasscmd[] = { "keepassxc", NULL };
|
||||||
|
|
||||||
static const Key keys[] = {
|
static const Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
||||||
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
||||||
|
{ ControlMask|Mod1Mask, XK_p, spawn, {.v = browsercmd } },
|
||||||
|
{ ControlMask|Mod1Mask, XK_c, spawn, {.v = editorcmd } },
|
||||||
|
{ ControlMask|Mod1Mask, XK_f, spawn, {.v = fmcmd } },
|
||||||
|
{ ControlMask|Mod1Mask, XK_k, spawn, {.v = keepasscmd } },
|
||||||
{ MODKEY, XK_b, togglebar, {0} },
|
{ MODKEY, XK_b, togglebar, {0} },
|
||||||
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||||
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
||||||
|
Loading…
Reference in New Issue
Block a user