diff --git a/config.def.h b/config.def.h index deb7b90..187e56a 100644 --- a/config.def.h +++ b/config.def.h @@ -81,6 +81,7 @@ static const char *mpctoggle[] = { "mpc", "toggle", NULL }; static const char *mpcprev[] = { "mpc", "prev", NULL }; static const char *mpcpause[] = { "mpc", "pause", NULL }; static const char *ncmpcpp[] = { "alacritty", "-t", "ncmpcpp", "-e", "ncmpcpp", NULL }; +static const char *pamix[] = { "alacritty", "-t", "pamix", "-e", "pamix", NULL }; static const char *mutt[] = { "alacritty", "-t", "mutt", "-e", "neomutt", NULL }; static Key keys[] = { @@ -131,6 +132,7 @@ static Key keys[] = { { 0, 0x1008FF03,spawn, {.v = brightnessdown} }, { 0, 0x1008FF11,spawn, {.v = audiodown} }, { 0, 0x1008FF12,spawn, {.v = audiotoggle} }, + { ShiftMask, 0x1008FF12,spawn, {.v = pamix} }, { 0, 0x1008FF13,spawn, {.v = audioup} }, { 0, 0x1008FF14,spawn, {.v = mpctoggle} }, { 0, 0x1008FF31,spawn, {.v = mpcpause} }, @@ -138,6 +140,7 @@ static Key keys[] = { { 0, 0x1008FF17,spawn, {.v = mpcnext} }, { 0, 0x1008FF19,spawn, {.v = mutt} }, { 0, 0x1008FF81,spawn, {.v = ncmpcpp} }, + { ShiftMask, 0x1008FF81,spawn, {.v = pamix} }, }; /* button definitions */ diff --git a/config.h b/config.h index deb7b90..187e56a 100644 --- a/config.h +++ b/config.h @@ -81,6 +81,7 @@ static const char *mpctoggle[] = { "mpc", "toggle", NULL }; static const char *mpcprev[] = { "mpc", "prev", NULL }; static const char *mpcpause[] = { "mpc", "pause", NULL }; static const char *ncmpcpp[] = { "alacritty", "-t", "ncmpcpp", "-e", "ncmpcpp", NULL }; +static const char *pamix[] = { "alacritty", "-t", "pamix", "-e", "pamix", NULL }; static const char *mutt[] = { "alacritty", "-t", "mutt", "-e", "neomutt", NULL }; static Key keys[] = { @@ -131,6 +132,7 @@ static Key keys[] = { { 0, 0x1008FF03,spawn, {.v = brightnessdown} }, { 0, 0x1008FF11,spawn, {.v = audiodown} }, { 0, 0x1008FF12,spawn, {.v = audiotoggle} }, + { ShiftMask, 0x1008FF12,spawn, {.v = pamix} }, { 0, 0x1008FF13,spawn, {.v = audioup} }, { 0, 0x1008FF14,spawn, {.v = mpctoggle} }, { 0, 0x1008FF31,spawn, {.v = mpcpause} }, @@ -138,6 +140,7 @@ static Key keys[] = { { 0, 0x1008FF17,spawn, {.v = mpcnext} }, { 0, 0x1008FF19,spawn, {.v = mutt} }, { 0, 0x1008FF81,spawn, {.v = ncmpcpp} }, + { ShiftMask, 0x1008FF81,spawn, {.v = pamix} }, }; /* button definitions */