From 975cb0f9a302e20c7437b4ce3225a59b436224d3 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Sat, 25 Dec 2021 22:42:07 -0500 Subject: Added screen-lock hotkey --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index fc57bfa..726f1e8 100644 --- a/config.def.h +++ b/config.def.h @@ -247,7 +247,9 @@ static Key keys[] = { { MODKEY, XK_u, togglescratch, {.ui = 1 } }, { MODKEY, XK_i, togglescratch, {.ui = 2 } }, + {MODKEY, XK_Escape, spawn, SHCMD("slock")}, + /* XF86 Media Keybindings */ { 0, XF86XK_AudioMute, spawn, SHCMD("pamixer -t; kill -44 $(pidof dwmblocks)") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pamixer --allow-boost -i 3; kill -44 $(pidof dwmblocks)") }, { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pamixer --allow-boost -d 3; kill -44 $(pidof dwmblocks)") }, -- cgit v1.2.3