Fixed mediacontrol related oopsies
This commit is contained in:
parent
3902feca3d
commit
81f4df548b
1 changed files with 6 additions and 6 deletions
12
config.h
12
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 */
|
||||
|
|
Loading…
Reference in a new issue