From 6c71120094e187374e99ed50ef004a17b025f5ab Mon Sep 17 00:00:00 2001 From: awy Date: Mon, 25 Nov 2024 01:54:09 +0300 Subject: neomutt bind --- config.def.h | 3 +-- config.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/config.def.h b/config.def.h index 609ff40..32570ad 100644 --- a/config.def.h +++ b/config.def.h @@ -154,6 +154,7 @@ static const Key keys[] = { { MODKEY, XKB_KEY_w, spawn, {.v = browsercmd} }, { MODKEY, XKB_KEY_m, spawn, {.v = spotifyplayer} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_S, spawn, {.v = snip} }, + { MODKEY, XKB_KEY_e, spawn, SHCMD("foot -e neomutt ; pkill -RTMIN+12 someblocks") }, { MODKEY, XKB_KEY_b, togglebar, {0} }, { MODKEY, XKB_KEY_j, focusstack, {.i = +1} }, { MODKEY, XKB_KEY_k, focusstack, {.i = -1} }, @@ -173,8 +174,6 @@ static const Key keys[] = { { MODKEY, XKB_KEY_Tab, view, {0} }, { MODKEY, XKB_KEY_q, killclient, {0} }, { MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} }, - { MODKEY, XKB_KEY_e, setlayout, {.v = &layouts[1]} }, - /*{ MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} },*/ { MODKEY, XKB_KEY_p, setlayout, {0} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_space, togglefloating, {0} }, { MODKEY, XKB_KEY_f, togglefullscreen, {0} }, diff --git a/config.h b/config.h index 609ff40..32570ad 100644 --- a/config.h +++ b/config.h @@ -154,6 +154,7 @@ static const Key keys[] = { { MODKEY, XKB_KEY_w, spawn, {.v = browsercmd} }, { MODKEY, XKB_KEY_m, spawn, {.v = spotifyplayer} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_S, spawn, {.v = snip} }, + { MODKEY, XKB_KEY_e, spawn, SHCMD("foot -e neomutt ; pkill -RTMIN+12 someblocks") }, { MODKEY, XKB_KEY_b, togglebar, {0} }, { MODKEY, XKB_KEY_j, focusstack, {.i = +1} }, { MODKEY, XKB_KEY_k, focusstack, {.i = -1} }, @@ -173,8 +174,6 @@ static const Key keys[] = { { MODKEY, XKB_KEY_Tab, view, {0} }, { MODKEY, XKB_KEY_q, killclient, {0} }, { MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} }, - { MODKEY, XKB_KEY_e, setlayout, {.v = &layouts[1]} }, - /*{ MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} },*/ { MODKEY, XKB_KEY_p, setlayout, {0} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_space, togglefloating, {0} }, { MODKEY, XKB_KEY_f, togglefullscreen, {0} }, -- cgit v1.2.3