aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-11-25 01:45:06 +0300
committerawy <awy@awy.one>2024-11-25 01:45:06 +0300
commit3b493b60a947f8cb5176336092c04e061018a638 (patch)
treed41db78aa3e54951adbe235b7b0e1e0ffe9dcd23 /config.h
parent84918b5460a2ba927538e5b743f79ae875c21f5e (diff)
spotifyplayer bind
Diffstat (limited to 'config.h')
-rw-r--r--config.h4
1 files changed, 3 insertions, 1 deletions
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} },