aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-06-24 22:16:38 +0530
committersinanmohd <sinan@firemail.cc>2023-06-24 22:16:38 +0530
commit9ca48b706a7ad571cf976d8d41d786ff2b01a211 (patch)
treee781f65970e0c2a8d8f2529846e4395a9bbfc64d
parent7a949e3a9b13040de60a8c002e65a56dfecf06ea (diff)
input: keybinding for firefox
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
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} },