From 761db14a97fe63b17a7e0ae7843405311da8dedb Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 14 Mar 2022 14:33:14 +0100 Subject: Added cool func to kill espeak --- config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 884a98c..c673291 100644 --- a/config.h +++ b/config.h @@ -105,6 +105,7 @@ static const char *mpcprevcmd[] = { "/usr/local/bin/mpc", "prev", NULL }; static const char *mpcnextcmd[] = { "/usr/local/bin/mpc", "next", NULL }; static const char *mpctogcmd[] = { "/usr/local/bin/mpc", "toggle", NULL }; static const char *mpcstopcmd[] = { "/usr/local/bin/mpc", "stop", NULL }; +static const char *killespeak[] = { "/bin/pkill", "espeak", NULL }; #include "movestack.c" #include @@ -143,6 +144,7 @@ static Key keys[] = { { 0, XF86XK_AudioRaiseVolume, spawn, {.v = volinccmd } }, { 0, XF86XK_AudioLowerVolume, spawn, {.v = voldeccmd } }, { 0, XF86XK_AudioMute, spawn, {.v = voltogcmd } }, + { 0, XK_Pause, spawn, {.v = killespeak } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, -- cgit v1.2.3