From f44e66d7aa3378e00c6cc1def62cd43d8b650a25 Mon Sep 17 00:00:00 2001 From: irrlicht <> Date: Sat, 11 Apr 2026 13:37:47 +0200 Subject: [PATCH] Starter for Firefox and Rofi --- config.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/config.h b/config.h index 9628963..f29776d 100644 --- a/config.h +++ b/config.h @@ -117,20 +117,22 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA /* commands */ static const char *termcmd[] = { "foot", NULL }; -static const char *menucmd[] = { "wmenu-run", NULL }; +static const char *webbrowsercmd[] = { "firefox", NULL }; +static const char *menucmd[] = { "rofi", NULL }; static const Key keys[] = { /* Note that Shift changes certain key codes: 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_Return, spawn, {.v = termcmd} }, + { MODKEY, XKB_KEY_w, spawn, {.v = webbrowsercmd} }, { MODKEY, XKB_KEY_j, focusstack, {.i = +1} }, { MODKEY, XKB_KEY_k, focusstack, {.i = -1} }, { MODKEY, XKB_KEY_i, incnmaster, {.i = +1} }, { MODKEY, XKB_KEY_d, incnmaster, {.i = -1} }, { MODKEY, XKB_KEY_h, setmfact, {.f = -0.05f} }, { MODKEY, XKB_KEY_l, setmfact, {.f = +0.05f} }, - { MODKEY, XKB_KEY_Return, zoom, {0} }, + /* { MODKEY, XKB_KEY_Return, zoom, {0} }, */ { MODKEY, XKB_KEY_Tab, view, {0} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_c, killclient, {0} }, { MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} },