diff --git a/PKGBUILD b/PKGBUILD index 6ad216f..2e87db7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -34,7 +34,7 @@ source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz "${_patches[@]}") md5sums=('9929845ccdec4d2cc191f16210dd7f3d' - '456a3571a825fdddfd61bfc2d3f9e1e9' + '29c35b2e4ee1e0a1d8469b1b6a3ec258' '939f403a71b6e85261d09fc3412269ee' '31a7569d7f3d43846f59e854ec5d1da0' 'fbb786263f2d714b18368ff64779d669' diff --git a/config.h b/config.h index e7a47de..22932f0 100644 --- a/config.h +++ b/config.h @@ -148,12 +148,14 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, static const char *termcmd[] = { "st", NULL }; static const char scratchpadname[] = "scratchpad"; static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL }; +static const char *slockcmd[] = { "slock" }; #include "selfrestart.c" static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, + { MODKEY, XK_x, spawn, {.v = slockcmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_grave, togglescratch, {.v = scratchpadcmd } }, { MODKEY, XK_b, togglebar, {0} },