-
v0.2.21d21178e · ·
Version 0.2.2 I started using luacheck, so have made some refactoring to satisfy it. Functions and variables are all local now, and the mp module is explicitly required. The handling of PIDs is a bit cleaner, code moved to dedicated functions, and the pidfile is written in /run if possible.
-
v0.2.14873c80d · ·
Version 0.2.1 Get the PID from the mpv property, instead of using a shell command
-
v0.2.0284ee063 · ·
Version 0.2.0 Multiple instances of mpv each execute this script. They now coordinate to avoid setting the refresh rate back and forth. Now every instance writes its PID in a shared temporary file, and only sets the refresh rate if it is the first to execute. The backup of old modes is stored in a file as well, so it can be restored by the last instance to close, whichever it is.
-
v0.1.0c4129cdc · ·
Version 0.1.0 The script now supports multiple monitors. For each enabled output, it saves the original refresh rate and sets the most fitting one.
-
v0.0.136be037a · ·
First usable release This version changes the refresh rate and then restore the old one when mpv closes