diff --git a/config.h b/config.h index 780b76e..7b0f582 100644 --- a/config.h +++ b/config.h @@ -76,8 +76,8 @@ static const char *downvol[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", static const char *mutevol[] = { "pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL }; static const char *plstop[] = { "playerctl", "stop", NULL }; static const char *plpause[] = { "playerctl", "play-pause", NULL }; -static const char *plnext[] = { "playerctl", "previous", NULL }; -static const char *plprev[] = { "playerctl", "next", NULL }; +static const char *plnext[] = { "playerctl", "next", NULL }; +static const char *plprev[] = { "playerctl", "previous", NULL }; static const Key keys[] = { /* modifier key function argument */ @@ -139,10 +139,10 @@ static const Key keys[] = { { WINKEY, XK_F6, spawn, {.v = plnext } }, { WINKEY, XK_F7, spawn, {.v = plpause } }, { WINKEY, XK_F8, spawn, {.v = plstop } }, - { WINKEY, XF86XK_AudioPrev, spawn, {.v = plprev } }, - { WINKEY, XF86XK_AudioNext, spawn, {.v = plnext } }, - { WINKEY, XF86XK_AudioPause, spawn, {.v = plpause } }, - { WINKEY, XF86XK_AudioStop, spawn, {.v = plstop } }, + { 0, XF86XK_AudioPrev, spawn, {.v = plprev } }, + { 0, XF86XK_AudioNext, spawn, {.v = plnext } }, + { 0, XF86XK_AudioPause, spawn, {.v = plpause } }, + { 0, XF86XK_AudioStop, spawn, {.v = plstop } }, }; /* button definitions */