From 97069c8457113e54bfbfcc5bf0fdf5ed2b6c4e51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Sun, 30 Jan 2022 13:11:27 +0100 Subject: [PATCH] added pamix --- config.def.h | 3 +++ config.h | 3 +++ 2 files changed, 6 insertions(+) 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 */