Automatically stack mplayer/mpv
asked 2014-05-16 16:45:40 +0000
This post is a wiki. Anyone with karma >100 is welcome to improve it.
When I open a terminal and run mpv, I usually don't need to see the terminal anymore. It would be neat if i3 would automatically put those two windows into stacked or tabbed mode.
I tried for_window [class="^mpv$"] layout tabbed
for a while, but it's too annoying:
If there are any other windows around, they get pulled into stacked mode, too, and I have to untangle everything.
I only want the "parent window" of mpv to be stacked. For example, I have a shortcut that runs youtube-dl on the URL in the clipboard. If I'm browsing the web and hit that shortcut, nothing should be stacked because mpv doesn't have a parent window.