commit 0a385ccc66bb8e6686aec200e2a23ea087d4ee43
parent 1c5c51407f07b6dd7f3b4fcab2cd34f2896af3bc
Author: fjbalon <fjbalon@templier.es>
Date: Wed, 24 Jun 2026 12:36:16 +0200
Añadida orden Mod4+Shift+l para ejecutar slock y bloquear pantalla
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/config.h b/config.h
@@ -62,11 +62,13 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *termcmd[] = { "xterm", NULL };
+static const char *slockcmd[] = { "slock", NULL };
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_r, spawn, {.v = dmenucmd } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
+ { MODKEY|ShiftMask, XK_l, spawn, { .v = slockcmd} },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },