Add term and menu keybindings back

This commit is contained in:
Sravan Balaji
2024-09-28 19:15:36 -04:00
parent 3609061178
commit 8f3371bbbc
2 changed files with 4 additions and 4 deletions

View File

@@ -441,8 +441,8 @@ static const char *menucmd[] = { "rofi", "-show", "combi", NULL };
static const Key keys[] = {
/* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
/* modifier key function argument */
/* { MODKEY, XKB_KEY_p, spawn, {.v = menucmd} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, */
{ MODKEY, XKB_KEY_p, spawn, {.v = menucmd} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} },
#if IPC_PATCH
{ MODKEY, XKB_KEY_b, togglebar, {0} },
#endif // IPC_PATCH

View File

@@ -184,8 +184,8 @@ static const char *menucmd[] = { "rofi", "-show", "combi", NULL };
static const Key keys[] = {
/* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
/* modifier key function argument */
/* { MODKEY, XKB_KEY_p, spawn, {.v = menucmd} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, */
{ MODKEY, XKB_KEY_p, spawn, {.v = menucmd} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} },
#if IPC_PATCH
{ MODKEY, XKB_KEY_b, togglebar, {0} },
#endif // IPC_PATCH