Created
October 2, 2022 20:30
-
-
Save hooke007/60cf1afb6b5f85b5957da8e977aa1e2a to your computer and use it in GitHub Desktop.
[mpv-script(dir)] 多osc-like脚本共存测试
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 能用但没必要 | |
-- 快捷键需要重映射 | |
-- 脚本选项可能需要重映射(或者选择修改脚本) | |
require("mp.options") | |
local opts = { | |
UI = "", | |
} | |
read_options(opts) | |
local function disable_osc() | |
mp.commandv("set", "osc", "no") | |
end | |
if opts.UI == "osc_plus" then | |
disable_osc() | |
require("osc_plus") | |
elseif opts.UI == "uosc" then | |
require("uosc") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment