From 45651c052296d162c82e926165c42a6073097a5c Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Fri, 20 Nov 2020 23:18:23 +0100 Subject: [PATCH] Added cmus pause/play keybind --- src/config.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config.h b/src/config.h index 4d8c899..93fd242 100644 --- a/src/config.h +++ b/src/config.h @@ -90,6 +90,8 @@ static const char *betterlockscreencmd[] = { "betterlockscreen", "--lock" }; static const char *spectaclecmd[] = { "spectacle", "-r", "-c", "-b" }; +static const char *cmuspausecmd[] = { "cmus-remote", "--pause" }; + static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_d, spawn, {.v = roficmd } }, @@ -117,6 +119,7 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_x, spawn, {.v = betterlockscreencmd}}, { MODKEY, XK_Print, spawn, {.v = spectaclecmd}}, + { MODKEY, XK_u, spawn, {.v = cmuspausecmd}}, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2)