From 3785b848445a22184392f22e0e5954178c2dd1c7 Mon Sep 17 00:00:00 2001 From: NiseVoid Date: Mon, 18 Feb 2019 11:25:56 +0100 Subject: [PATCH] Add song switching keybinding --- config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.h b/config.h index 7f66000..c0535bb 100644 --- a/config.h +++ b/config.h @@ -32,6 +32,7 @@ static const Rule rules[] = { /* class instance title tags mask isfloating monitor */ { "Gimp", NULL, NULL, 1 << 5, 0, -1 }, { "Firefox", NULL, NULL, 1 << 2, 0, -1 }, + { "tablify", NULL, NULL, ~0, 1, -1 }, }; /* layout(s) */ @@ -62,6 +63,8 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() static const char *dmenucmd[] = { "dmenu_run", "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_red, "-sf", col_gray4, NULL }; static const char *termcmd[] = { "st", NULL }; +static const char *songcmd[] = { "song", NULL }; + static const char *browser1cmd[] = { "firefox", NULL }; static const char *browser2cmd[] = { "chromium", "--incognito", NULL }; @@ -76,6 +79,7 @@ static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_space, spawn, {.v = dmenucmd } }, { MODKEY, XK_t, spawn, {.v = termcmd } }, + { MODKEY, XK_grave, spawn, {.v = songcmd } }, { MODKEY, XK_b, spawn, {.v = browser1cmd} }, { MODKEY|ShiftMask, XK_b, spawn, {.v = browser2cmd} }, { Mod1Mask, XK_Tab, focusstack, {.i = +1 } },