From 9ca48b706a7ad571cf976d8d41d786ff2b01a211 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 24 Jun 2023 22:16:38 +0530 Subject: input: keybinding for firefox --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.def.h b/config.def.h index a08afc8..fa73252 100644 --- a/config.def.h +++ b/config.def.h @@ -105,6 +105,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA static const char *termcmd[] = { "foot", NULL }; static const char *menucmd[] = { "menu_run", NULL }; static const char *nnnfm[] = { "foot", "nnn", "-decC", NULL }; +static const char *www[] = { "firefox", NULL }; static const char *damb[] = { "damb", NULL }; static const char *dbook[] = { "dbook", NULL }; @@ -123,6 +124,7 @@ static const Key keys[] = { { MODKEY, XKB_KEY_p, spawn, {.v = menucmd} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, { MODKEY, XKB_KEY_n, spawn, {.v = nnnfm} }, + { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_W, spawn, {.v = www} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_A, spawn, {.v = damb} }, { MODKEY, XKB_KEY_x, spawn, {.v = scrlock} }, { MODKEY, XKB_KEY_b, spawn, {.v = dbook} }, -- cgit v1.2.3