diff --git a/config.h b/config.h index 4c818f8..3bb7038 100644 --- a/config.h +++ b/config.h @@ -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 */ diff --git a/dwm b/dwm index df167f0..8429425 100755 Binary files a/dwm and b/dwm differ diff --git a/dwm.o b/dwm.o index f7194cc..da8f1d1 100644 Binary files a/dwm.o and b/dwm.o differ