Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request for extra script #17

Open
marcespie opened this issue Jul 4, 2021 · 1 comment
Open

request for extra script #17

marcespie opened this issue Jul 4, 2021 · 1 comment

Comments

@marcespie
Copy link

I don't know whether that's possible, but I have a peculiar setup: dual screen with one portrait and one landscape.

Would it be possible to have auto-detection of portrait/landscape pictures (easy) and to switch monitor automatically when changing image (no idea whether it's feasible/hard)

@occivink
Copy link
Owner

occivink commented Jul 4, 2021

This is pretty specific, and difficult to make a generic script for. I'm not even sure whether you can change monitor at runtime from mpv itself (there's a property https://mpv.io/manual/master/#options-screen but it might be that startup-only). You'll probably have better success making an external script that communicates with both mpv and your wm. I only have a single monitor so I can't really help you there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants