From 3b493b60a947f8cb5176336092c04e061018a638 Mon Sep 17 00:00:00 2001 From: awy Date: Mon, 25 Nov 2024 01:45:06 +0300 Subject: spotifyplayer bind --- config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config.h') diff --git a/config.h b/config.h index 3e94e07..609ff40 100644 --- a/config.h +++ b/config.h @@ -142,6 +142,7 @@ static const char *browsercmd[] = { "firefox", NULL }; static const char *passmenu[] = { "tessen", NULL }; static const char *bookmarks[] = { "bookmarks", NULL }; static const char *snip[] = {"sh", "-c", "slurp | grim -g - - | wl-copy", NULL}; +static const char *spotifyplayer[] = { "foot", "-e", "spotify_player", NULL }; static const Key keys[] = { /* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */ @@ -151,6 +152,7 @@ static const Key keys[] = { { MODKEY, XKB_KEY_grave, spawn, {.v = bookmarks} }, { MODKEY, XKB_KEY_Return, spawn, {.v = termcmd} }, { MODKEY, XKB_KEY_w, spawn, {.v = browsercmd} }, + { MODKEY, XKB_KEY_m, spawn, {.v = spotifyplayer} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_S, spawn, {.v = snip} }, { MODKEY, XKB_KEY_b, togglebar, {0} }, { MODKEY, XKB_KEY_j, focusstack, {.i = +1} }, @@ -172,7 +174,7 @@ static const Key keys[] = { { MODKEY, XKB_KEY_q, killclient, {0} }, { MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XKB_KEY_e, setlayout, {.v = &layouts[1]} }, - { MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} }, + /*{ MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} },*/ { MODKEY, XKB_KEY_p, setlayout, {0} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_space, togglefloating, {0} }, { MODKEY, XKB_KEY_f, togglefullscreen, {0} }, -- cgit v1.2.3