diff --git a/config.def.h b/config.def.h index 984dd8f..2d98676 100644 --- a/config.def.h +++ b/config.def.h @@ -236,6 +236,9 @@ static Key keys[] = { { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pulsemixer --change-volume -1; sigdwmblocks 2") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pulsemixer --change-volume +1; sigdwmblocks 2") }, { 0, XF86XK_AudioMute, spawn, SHCMD("pulsemixer --toggle-mute; sigdwmblocks 2") }, + { 0, XF86XK_AudioPlay, spawn, SHCMD("$HOME/.local/bin/playerctl play-pause") }, + { 0, XF86XK_AudioNext, spawn, SHCMD("$HOME/.local/bin/playerctl next") }, + { 0, XF86XK_AudioPrev, spawn, SHCMD("$HOME/.local/bin/playerctl previous") }, #ifdef LAPTOP { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") }, { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") },