summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-07 15:28:06 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-07 15:28:06 +0100
commit3ca4c58c424389dca2c2d321fa85f63dcf0e5cb4 (patch)
tree3258f4734cb93b2d6f46bf8a1cd39e2b9d94a67f
parentfd62cf4988f47c6122b0aefbc5f362f56a3c9fdb (diff)
Add neomutt shortcut
-rw-r--r--config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.h b/config.h
index 88c4eca..34130f7 100644
--- a/config.h
+++ b/config.h
@@ -159,6 +159,11 @@ static Key keys[] = {
{MODKEY | ShiftMask, XK_r, spawn, SHCMD(TERMINAL " -e btm")},
{MODKEY, XK_n, spawn, SHCMD(TERMINAL " -e gpuwatch")},
{MODKEY, XK_space, spawn, SHCMD("dmenu_run")},
+ {MODKEY, XK_e, spawn,
+ SHCMD(TERMINAL " -e neomutt ; pkill -RTMIN+12 dwmblocks; rmdir ~/.abook")},
+ {MODKEY | ShiftMask, XK_e, spawn,
+ SHCMD(TERMINAL " -e abook -C ~/.config/abook/abookrc --datafile "
+ "~/.config/abook/addressbook")},
{MODKEY, XK_t, setlayout, {.v = &layouts[0]}}, /* tile */
{MODKEY | ShiftMask, XK_t, setlayout, {.v = &layouts[1]}}, /* bstack */