summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rwxr-xr-xconfig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index 9f4fe20..31deee3 100755
--- a/config.h
+++ b/config.h
@@ -76,6 +76,7 @@ static const char *browsercmd[] = { "brave", "--password-store=basic", NULL };
static const char *discordcmd[] = { "flatpak run com.discordapp.Discord", NULL };
static const char *screenshotcmd[] = { "flameshot", "gui", NULL };
static const char *mailcmd[] = { "thunderbird", NULL };
+static const char *lockcmd[] = { "slock", NULL };
static const char *shutdowncmd[] = { "shutdown", "-P", "0", NULL };
/* media keys */
@@ -96,6 +97,7 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_d, spawn, {.v = discordcmd } },
{ MODKEY, XK_n, spawn, {.v = rsscmd } },
{ MODKEY, XK_e, spawn, {.v = mailcmd } },
+ { MODKEY, XK_Delete, spawn, {.v = lockcmd } },
{ MODKEY|ShiftMask, XK_Delete, spawn, {.v = shutdowncmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },