diff options
author | Özgür Kesim <oec@codeblau.de> | 2022-01-30 13:11:27 +0100 |
---|---|---|
committer | Özgür Kesim <oec@codeblau.de> | 2022-01-30 13:11:27 +0100 |
commit | 97069c8457113e54bfbfcc5bf0fdf5ed2b6c4e51 (patch) | |
tree | 36fcdc6bf1afc2d218817d250dc54eafb0f66961 | |
parent | cbded26fea8405914ffbff0fbb8d0e01cb3d8718 (diff) |
added pamix
-rw-r--r-- | config.def.h | 3 | ||||
-rw-r--r-- | config.h | 3 |
2 files changed, 6 insertions, 0 deletions
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 */ @@ -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 */ |