From 46572e954ffcf9682cfb7b212a77735b0539c9b9 Mon Sep 17 00:00:00 2001 From: tavo-wasd Date: Mon, 1 May 2023 00:04:09 -0600 Subject: [PATCH] microphone --- config.def.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.def.h b/config.def.h index cd8bf19..dacc21a 100644 --- a/config.def.h +++ b/config.def.h @@ -83,8 +83,11 @@ static const char *brightup[] = { "brightup", NULL }; static const char *clipmenu[] = { "clipmenu", NULL }; static const char *voldown[] = { "voldown", NULL }; static const char *volup[] = { "volup", NULL }; +static const char *micdown[] = { "micdown", NULL }; +static const char *micup[] = { "micup", NULL }; static const char *prtsc[] = { "prtsc", NULL }; static const char *mute[] = { "mute", NULL }; +static const char *micmute[] = { "mute", NULL }; /* --------------- */ #include "movestack.c" @@ -141,8 +144,11 @@ static const Key keys[] = { { 0, XF86XK_MonBrightnessUp, spawn, {.v = brightup } }, { 0, XF86XK_AudioLowerVolume, spawn, {.v = voldown } }, { 0, XF86XK_AudioRaiseVolume, spawn, {.v = volup } }, + { MODKEY, XF86XK_AudioLowerVolume, spawn, {.v = micdown } }, + { MODKEY, XF86XK_AudioRaiseVolume, spawn, {.v = micup } }, { 0, XK_Print, spawn, {.v = prtsc } }, { 0, XF86XK_AudioMute, spawn, {.v = mute } }, + { MODKEY, XF86XK_AudioMute, spawn, {.v = micmute } }, /* ------------ */ };