From 01a850da59db8c802dd730c04bcd26c15c9efab2 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 14 Apr 2022 11:18:07 +0200 Subject: Keybound mic script --- config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.h b/config.h index 8378285..25e0763 100644 --- a/config.h +++ b/config.h @@ -102,6 +102,7 @@ static const char *bldeccmd[] = { "/usr/local/bin/xbacklight", "-dec", "10", static const char *voltogcmd[] = { "/home/jozan/.local/bin/mixer-set", "toggle", NULL }; static const char *voldeccmd[] = { "/home/jozan/.local/bin/mixer-set", "lower", NULL }; static const char *volinccmd[] = { "/home/jozan/.local/bin/mixer-set", "raise", NULL }; +static const char *miccmd[] = { "/home/jozan/.local/bin/mic", NULL }; 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 }; @@ -135,6 +136,7 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_F10, spawn, {.v = voltogcmd } }, { MODKEY|ShiftMask, XK_F11, spawn, {.v = voldeccmd } }, { MODKEY|ShiftMask, XK_F12, spawn, {.v = volinccmd } }, + { MODKEY|ShiftMask, XK_Home, spawn, {.v = miccmd } }, { MODKEY|ControlMask, XK_F9, spawn, {.v = dmkillcmd } }, { MODKEY|ControlMask, XK_F10, spawn, {.v = dmscrotcmd } }, { MODKEY|ControlMask, XK_F11, spawn, {.v = dmsearchcmd } }, -- cgit v1.2.3