From ba3842c665d4ec177133b9c707fcdf88acf7320e Mon Sep 17 00:00:00 2001 From: Remi Akirazar Date: Tue, 24 Feb 2026 22:44:34 -0500 Subject: [PATCH] fix(config.def.h): updated lock to be named swaylock to prevent naming conflict Signed-off by: Remi randormi@devcpu.co Signed-off-by: Remi Akirazar --- config.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index b8ea056..dafb500 100644 --- a/config.def.h +++ b/config.def.h @@ -119,7 +119,7 @@ static const char *termcmd[] = { "foot", NULL }; static const char *menucmd[] = { "vicinae", "toggle", NULL }; static const char *emacs[] = { "emacsclient", "-c", "-a", "emacs", NULL }; static const char *browser[] = {"brave"}; -static const char *lock[] = {"swaylock"}; +static const char *swaylock[] = {"swaylock"}; static const Key keys[] = { /* Note that Shift changes certain key codes: 2 -> at, etc. */ @@ -128,7 +128,7 @@ static const Key keys[] = { { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_e, spawn, {.v = emacs} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_b, spawn, {.v = browser} }, - { MODKEY, XKB_KEY_l, spawn, {.v = lock} }, + { MODKEY, XKB_KEY_l, spawn, {.v = swaylock} }, { MODKEY, XKB_KEY_j, focusstack, {.i = +1} }, { MODKEY, XKB_KEY_k, focusstack, {.i = -1} }, { MODKEY, XKB_KEY_i, incnmaster, {.i = +1} },