diff options
Diffstat (limited to 'dwm/config.h')
| -rwxr-xr-x | dwm/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dwm/config.h b/dwm/config.h index 39b91b5..5b9f1c1 100755 --- a/dwm/config.h +++ b/dwm/config.h @@ -66,6 +66,7 @@ static const char *xlockmodes[] = { "spiral", "space", "helix", "grav" }; static const char *lockcmd[] = { "xlock", "-mode", NULL, NULL }; static const char *brightnessupcmd[] = { "brightnessctl", "s", "+10%", NULL }; static const char *brightnessdowncmd[] = { "brightnessctl", "s", "10%-", NULL }; +static const char *playpausecmd[] = { "playerctl", "play-pause", NULL }; static const Key keys[] = { /* modifier key function argument */ @@ -106,6 +107,7 @@ static const Key keys[] = { { MODKEY|ShiftMask, XK_q, quit, {0} }, { 0, XF86XK_MonBrightnessUp, spawn, {.v = brightnessupcmd } }, { 0, XF86XK_MonBrightnessDown, spawn, {.v = brightnessdowncmd } }, + { 0, XF86XK_AudioPlay, spawn, {.v = playpausecmd } }, }; /* button definitions */ |
