change keys into xkbcommon definitions

This commit is contained in:
h3nc4 2025-03-28 00:24:39 -03:00 committed by A Frederick Christensen
parent 9137f21d74
commit 93523c00fb

View File

@ -16,10 +16,10 @@ index 22d2171..72dbaa1 100644
{ MODKEY, XKB_KEY_k, focusstack, {.i = -1} },
{ MODKEY, XKB_KEY_i, incnmaster, {.i = +1} },
{ MODKEY, XKB_KEY_d, incnmaster, {.i = -1} },
+ { MODKEY, XK_Left, shiftview, {.i = -1 } },
+ { MODKEY, XK_Right, shiftview, {.i = +1 } },
+ { MODKEY|WLR_MODIFIER_SHIFT, XK_Left, shifttag, {.i = -1 } },
+ { MODKEY|WLR_MODIFIER_SHIFT, XK_Right, shifttag, {.i = +1 } },
+ { MODKEY, XKB_KEY_Left, shiftview, {.i = -1 } },
+ { MODKEY, XKB_KEY_Right, shiftview, {.i = +1 } },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Left, shifttag, {.i = -1 } },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Right, shifttag, {.i = +1 } },
{ MODKEY, XKB_KEY_h, setmfact, {.f = -0.05f} },
{ MODKEY, XKB_KEY_l, setmfact, {.f = +0.05f} },
{ MODKEY, XKB_KEY_Return, zoom, {0} },