Commit: a3d33f105a396f053c74b339f3bb4f23ce8cc5a1 Parent: 38900fdea1902cb04d668b824c93cb321564ddae Author: Ren Tatsumoto Date: Tue, 4 Aug 2020 04:05:03 +0000 a note about modules.lua Diffstat:
| M | README.md | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md @@ -22,12 +22,14 @@ If not, either proceed to Arch Wiki and come back when you're done, or simply cl $ git clone 'https://github.com/Ajatt-Tools/mpvacious.git' ~/.config/mpv/scripts/subs2srs ``` -Open ```~/.config/mpv/scripts/modules.lua``` and add these lines: +Open or create ```~/.config/mpv/scripts/modules.lua``` and add these lines: ``` local mpv_scripts_dir_path = os.getenv("HOME") .. "/.config/mpv/scripts/" function load(relative_path) dofile(mpv_scripts_dir_path .. relative_path) end load("subs2srs/subs2srs.lua") ``` +If you're using [voidrice](https://github.com/LukeSmithxyz/voidrice), you should [already have it](https://github.com/LukeSmithxyz/voidrice/blob/master/.config/mpv/scripts/modules.lua). In this case only add the last line: ```load("subs2srs/subs2srs.lua")```. + ## Configuration Configuration file is located at ```~/.config/mpv/script-opts/subs2srs.conf```