Added keybind for slock: ctrl-meta-l

This commit is contained in:
jon
2019-06-26 20:37:13 -05:00
parent 66c42c2531
commit 1b402fe688
3 changed files with 2 additions and 0 deletions

View File

@@ -75,6 +75,7 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_norm_bg, "-nf", col_norm_fg, "-sb", col_sel_bg, "-sf", col_sel_fg, NULL };
static const char *termcmd[] = { "urxvt256c", NULL };
static const char *lockcmd[] = { "slock", NULL };
static Key keys[] = {
/* modifier key function argument */
@@ -111,6 +112,7 @@ static Key keys[] = {
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
{ MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd } },
};
/* button definitions */