From 7340f1fee072768fa0c9853e3681a6051ea6baff Mon Sep 17 00:00:00 2001 From: Elias Almqvist Date: Sat, 8 Jun 2024 12:53:05 +0200 Subject: [PATCH] swap to playctl with super+u --- src/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.h b/src/config.h index a3b83af..57fa318 100644 --- a/src/config.h +++ b/src/config.h @@ -100,7 +100,7 @@ static const char *browsercmd[] = {"firefox", NULL}; static const char *betterlockscreencmd[] = {"betterlockscreen", "--lock", "blur", NULL}; static const char *screenshotcmd[] = {"flameshot", "gui", NULL}; -static const char *cmuspausecmd[] = {"cmus-remote", "--pause", NULL}; +static const char *playctl_playpausecmd[] = {"playctl", "play-pause", NULL}; static Key keys[] = { /* modifier key @@ -166,7 +166,7 @@ static Key keys[] = { {MODKEY | ShiftMask, XK_period, tagmon, {.i = +1}}, {MODKEY | ShiftMask, XK_l, spawn, {.v = betterlockscreencmd}}, {MODKEY, XK_Print, spawn, {.v = screenshotcmd}}, - {MODKEY, XK_u, spawn, {.v = cmuspausecmd}}, + {MODKEY, XK_u, spawn, {.v = playctl_playpausecmd}}, {MODKEY, XK_g, switchgaps, {.i = +1}}, {MODKEY, XK_v, switchgaps, {.i = -1}}, {MODKEY, XK_minus, setgaps, {.i = -1}},