aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index 5fc358a..52c64a6 100644
--- a/config.h
+++ b/config.h
@@ -84,6 +84,7 @@ static const char *passcmd_type[] = { "passmenu", "--type", DMENU_FLAGS, NULL
static const char *snip_cmd[] = { "snipmenu", DMENU_FLAGS, NULL };
static const char *screenshot_cmd[] = { "xfce4-screenshooter", NULL };
static const char *file_cmd[] = { "thunar", NULL };
+static const char *slock_cmd[] = { "slock", NULL };
static Key keys[] = {
/* modifier key function argument */
@@ -129,6 +130,7 @@ static Key keys[] = {
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
+ { 0, XK_Scroll_Lock, spawn, {.v = slock_cmd } },
{ MODKEY|ShiftMask, XK_r, self_restart, {0} },
{ MODKEY|ShiftMask, XK_e, quit, {0} },
};