- Install mpv.
- Install mpv_websocket to automatically copy subtitles to a WebSocket. Unlike mpvacious, it correctly sends an empty string when no subtitle is shown, allowing JL to detect when subtitles disappear.
- Add
input-ipc-server=/tmp/mpv-socketto yourmpv.conffile. - Enable the
Automatically pause the video playing in mpv on hover and resume on mouse leaveoption via thePreferences -> Main Windowmenu in JL. - Hide the mpv subtitles by pressing
v. To make them hidden by default, addsub-visibility=noto yourmpv.conffile.
- Consider creating a new profile for anime.
- Enable
Dynamic height. - Enable
Dynamic widthandReposition window to the fixed right-edge position on text change.
SetFixed right-edge positionto0. - Enable
Center text horizontally. - Enable
Hide all buttons when mouse is not over the title bar. - Disable
Text only visible on hover. - Try experimenting with the
Shadow depth,Shadow blur radius,Shadow opacity, andShadow directionsettings to improve the readability of the text when the main text box background is transparent.- A good starting point might be:
Shadow depth: 2.0,Blur radius: 7,Opacity: 100,Direction: 340.
- A good starting point might be:
- Try changing the
Font weightoption and see if it improves the text readability of the main text box text for you.
- To make sub-texts hidden by default, add
sub-visibility=noto yourmpv.conffile. - To make OSC show up only when you hover over it, add
deadzonesize=1.0to yourscript-opts/osc.conffile.
Here’s what the end result looks like: