Replies: 2 comments 12 replies
-
|
I like the concept of it. It makes the on top button actually useful and behave more like YouTube's. I saw some issues when restoring the window back to its original state though, like the window disappearing out of the viewport. |
Beta Was this translation helpful? Give feedback.
12 replies
-
|
Done! https://github.com/Samillion/ModernZ/tree/main/extras/pip-lite |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A PiP mode is very useful when multi-tasking, especially for single monitors.
In the past I used to add this auto-profile in my
mpv.confto enhance the pin button function with a PiP mode:However, it wasn't consistent with
geometryin constant on/off triggers. Sometimes window position would change incorrectly or erratically.So I decided to create pip.lua
In essence: On pin (
ontop = true), it resizes and moves the window to the bottom right, and restores it on unpin (ontop = false).The default window changes and options within the script:
It made the behavior much more stable, and now I can just use the auto-profile to adjust some options, for example:
Though I'm not sure if
pip.luashould be included in extras or not. As it is now it functions exactly to my use-case, though I'm sure others have different scenarios.I'll leave this discussion open for the long run, just to gather any information from you guys, if any.
Beta Was this translation helpful? Give feedback.
All reactions