aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-03-14 14:33:14 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2022-03-14 14:33:14 +0100
commit761db14a97fe63b17a7e0ae7843405311da8dedb (patch)
tree4e7567e7cf4b9bb1dce78e23cd6bf897281f439e
parentFirefox changed class for some reason (diff)
downloaddwm-761db14a97fe63b17a7e0ae7843405311da8dedb.tar.gz
dwm-761db14a97fe63b17a7e0ae7843405311da8dedb.tar.bz2
dwm-761db14a97fe63b17a7e0ae7843405311da8dedb.tar.xz
dwm-761db14a97fe63b17a7e0ae7843405311da8dedb.tar.zst
dwm-761db14a97fe63b17a7e0ae7843405311da8dedb.zip
Added cool func to kill espeak
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
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 <X11/XF86keysym.h>
@@ -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 } },