summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjonsykkel <jonrevold@gmail.com>2021-08-16 16:35:37 +0200
committerjonsykkel <jonrevold@gmail.com>2021-08-16 16:35:37 +0200
commit5d2bfe1f406d0d128a7d4f708c15f68206bace89 (patch)
tree56c6b856678a8945581e09aa450fccda5486ac80
parent003f610239f7725731569ef4258b9df8f5495261 (diff)
downloaddwm-5d2bfe1f406d0d128a7d4f708c15f68206bace89.tar.gz
slok
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index b33a762..65b05ee 100644
--- a/config.h
+++ b/config.h
@@ -63,6 +63,7 @@ static char dmenumon [] = "0"; /* component of dmenucmd, manipulated in
static const char *dmenucmd [] = { "dmenu_run","-m",dmenumon,"-e",0 };
static const char *kbswapcmd [] = { "kbswap",0 };
static const char *termcmd [] = { "st",0 };
+static const char *slockcmd [] = { "slock",0 };
static Key keys[] = {
/* modifier key function argument */
@@ -70,6 +71,7 @@ static Key keys[] = {
{ MODKEY, XK_ae, spawn, {.v = kbswapcmd } },
{ MODKEY, XK_braceright,spawn, {.v = kbswapcmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
+ { MODKEY, XK_w, spawn, {.v = slockcmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },