added pamix

This commit is contained in:
Özgür Kesim 2022-01-30 13:11:27 +01:00
parent cbded26fea
commit 97069c8457
2 changed files with 6 additions and 0 deletions

View File

@ -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 */

View File

@ -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 */