summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-08-27 14:31:10 -0400
committerGitHub <noreply@github.com>2020-08-27 14:31:10 -0400
commit90eb5e6238ee5a5675239feba6ff29e2008443dd (patch)
tree38e90ac372465ab0f6d23d4f6e9c3f41f45def14
parent6995e5e189657a0a5ef730b3ec5e9d5803b129f2 (diff)
parent58a2f00268a072f3a8e9abc77b8b13829b2644ba (diff)
Merge pull request #99 from hamidout/mic-mute
Added mute mic functionality
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index d06e6ec..771e7a1 100644
--- a/config.h
+++ b/config.h
@@ -239,6 +239,7 @@ static Key keys[] = {
{ 0, XF86XK_AudioRewind, spawn, SHCMD("mpc seek -10") },
{ 0, XF86XK_AudioForward, spawn, SHCMD("mpc seek +10") },
{ 0, XF86XK_AudioMedia, spawn, SHCMD("st -e ncmpcpp") },
+ { 0, XF86XK_AudioMicMute, spawn, SHCMD("pactl set-source-mute @DEFAULT_SOURCE@ toggle") },
{ 0, XF86XK_PowerOff, spawn, SHCMD("sysact") },
{ 0, XF86XK_Calculator, spawn, SHCMD("st -e bc -l") },
{ 0, XF86XK_Sleep, spawn, SHCMD("sudo -A zzz") },