diff --git a/config.def.h b/config.def.h index c86340c..5de72fb 100644 --- a/config.def.h +++ b/config.def.h @@ -78,6 +78,7 @@ static const char *xkbmapcz[] = { "setxkbmap", "cz", "qwerty", NULL }; static const char *mixercmd[] = { "pavucontrol", NULL }; static const char *volup[] = { "pamixer", "--increase", "5", NULL }; static const char *voldown[] = { "pamixer", "--decrease", "5", NULL }; +static const char *volmute[] = { "pamixer", "-t", NULL }; static const char *mpcstop[] = { "mpc", "stop", NULL }; static const char *mpctoggle[] = { "mpc", "toggle", NULL }; @@ -137,6 +138,7 @@ static const Key keys[] = { { 0, XF86XK_AudioNext, spawn, {.v = mpcnext } }, { 0, XF86XK_AudioRaiseVolume, spawn, {.v = volup } }, { 0, XF86XK_AudioLowerVolume, spawn, {.v = voldown } }, + { 0, XF86XK_AudioMute, spawn, {.v = volmute } }, { MODKEY, XK_Pause, spawn, SHCMD("setxkbmap us; slock & sleep 0.2; loginctl suspend") }, { 0, XK_Print, spawn, SHCMD("shotgun $(slop -f '-i %i -g %g') - | tee /home/$USER/scrot/$(date +'%F_%T').png | xclip -t 'image/png' -selection c") }, { 0, XK_Print, spawn, SHCMD("shotgun - | tee /home/$USER/scrot/$(date +'%F_%T').png | xclip -t 'image/png' -selection c") },