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 <randormi@devcpu.co>
This commit is contained in:
Remi Akirazar 2026-02-24 22:44:34 -05:00
parent 779e3b0761
commit ba3842c665
No known key found for this signature in database
GPG Key ID: FD905641D295ED33

View File

@ -119,7 +119,7 @@ static const char *termcmd[] = { "foot", NULL };
static const char *menucmd[] = { "vicinae", "toggle", NULL }; static const char *menucmd[] = { "vicinae", "toggle", NULL };
static const char *emacs[] = { "emacsclient", "-c", "-a", "emacs", NULL }; static const char *emacs[] = { "emacsclient", "-c", "-a", "emacs", NULL };
static const char *browser[] = {"brave"}; static const char *browser[] = {"brave"};
static const char *lock[] = {"swaylock"}; static const char *swaylock[] = {"swaylock"};
static const Key keys[] = { static const Key keys[] = {
/* Note that Shift changes certain key codes: 2 -> at, etc. */ /* 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_Return, spawn, {.v = termcmd} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_e, spawn, {.v = emacs} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_e, spawn, {.v = emacs} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_b, spawn, {.v = browser} }, { 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_j, focusstack, {.i = +1} },
{ MODKEY, XKB_KEY_k, focusstack, {.i = -1} }, { MODKEY, XKB_KEY_k, focusstack, {.i = -1} },
{ MODKEY, XKB_KEY_i, incnmaster, {.i = +1} }, { MODKEY, XKB_KEY_i, incnmaster, {.i = +1} },