I would like to configure my i3wm and ranger file manager in such a way that when I choose a movie in ranger, it opens video in mpv on workspace 10 in fullscreen. The problem is that everything works fine without --fs
(fullscreen option on mpv), but when I add the --fs
flag, i3 doesn't move mpv to workspace 10 and it opens wherever ranger is.
In .i3/config
:
assign [class="mpv"] $ws10
In .config/ranger/rifle.conf
:
mime ^video|audio, has mpv, X, flag f = mpv --fs -- "$@"
Why is fullscreen so problematic? Is there any solution to this?