MPV floating

master
Ronald Reagan 7 years ago
parent 73d8f2822a
commit 40f3239573

@ -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 } },

BIN
dwm

Binary file not shown.

BIN
dwm.o

Binary file not shown.
Loading…
Cancel
Save