diff --git a/config.h b/config.h index 2351b55..d146ef6 100644 --- a/config.h +++ b/config.h @@ -21,6 +21,7 @@ static const Rule rules[] = { */ /* class instance title tags mask iscentered isfloating monitor */ { "stalonetray", NULL, NULL, 1 << 8, 1, 1, -1 }, + { "mpv", NULL, NULL, 0, 0, 1, -1 }, { "st-256color", NULL, "pulsemixer", 0, 1, 1, -1 }, { "st-256color", NULL, "ncmpcpp", 0, 1, 1, -1 }, { "st-256color", NULL, "tmux", 0, 1, 1, -1 }, @@ -77,6 +78,7 @@ static const char *tmuxcmd[] = { "st", "-e", "tmux", "a", NULL }; static const char *htopcmd[] = { "st", "-e", "htop", NULL }; static const char *nmcmd[] = { "st", "-e", "nmtui", NULL }; static const char *newscmd[] = { "st", "-e", "newsboat", NULL }; +static const char *ytpcmd[] = { "st", "-n", "floating", "-e", "ytp", NULL }; #include "movestack.c" static Key keys[] = { @@ -127,8 +129,9 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_v, spawn, {.v = musiccmd } }, { MODKEY, XK_s, spawn, {.v = ssacmd } }, { MODKEY|ShiftMask, XK_s, spawn, {.v = ssscmd } }, - { MODKEY, XK_y, spawn, {.v = htopcmd } }, - { MODKEY, XK_u, spawn, {.v = tmuxcmd } }, + { MODKEY, XK_y, spawn, {.v = ytpcmd } }, + { MODKEY, XK_u, spawn, {.v = htopcmd } }, + { MODKEY|ShiftMask, XK_u, spawn, {.v = tmuxcmd } }, { MODKEY, XK_p, spawn, {.v = passcmd } }, { MODKEY, XK_e, spawn, {.v = transcmd } }, { MODKEY, XK_w, spawn, {.v = mailcmd } }, diff --git a/dwm b/dwm index 85cd862..0fac398 100755 Binary files a/dwm and b/dwm differ diff --git a/dwm.o b/dwm.o index 017df0e..9c67d5a 100644 Binary files a/dwm.o and b/dwm.o differ