universedesktop: dwl processing

This commit is contained in:
2024-06-03 14:37:05 -04:00
parent c490063598
commit 4f3af0a21a
2 changed files with 14 additions and 6 deletions

View File

@@ -122,6 +122,8 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA
static const char *termcmd[] = { "@termcmd@", NULL };
static const char *editcmd[] = { "@editcmd@", NULL };
static const char *menucmd[] = { "@menucmd@", NULL };
static const char *playcmd[] = { "@playcmd@", NULL };
static const char *scrncmd[] = { "@scrncmd@", NULL };
static const Key keys[] = {
/* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
@@ -129,6 +131,8 @@ static const Key keys[] = {
{ MODKEY, XKB_KEY_r, spawn, {.v = menucmd} },
{ MODKEY, XKB_KEY_Return, spawn, {.v = termcmd} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = editcmd} },
{ 0, XKB_KEY_XF86AudioPlay, spawn, {.v = playcmd} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Print, spawn, {.v = scrncmd} },
{ MODKEY, XKB_KEY_j, focusstack, {.i = +1} },
{ MODKEY, XKB_KEY_k, focusstack, {.i = -1} },
{ MODKEY, XKB_KEY_i, incnmaster, {.i = +1} },