From 23c203bc8a0ec7bba33a2554a9d03cd7c54bb5fd Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sun, 1 Oct 2023 09:21:30 +0530 Subject: mpv: fix out path when sub-file-paths not set --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.lua') diff --git a/main.lua b/main.lua index 295afa1..dcd70eb 100644 --- a/main.lua +++ b/main.lua @@ -42,7 +42,7 @@ local sub_setup = function () if out then out = out:gsub('^~/', os.getenv('HOME') .. '/') else - out = os.getenv('HOME') .. '.local/share/subs' + out = os.getenv('HOME') .. '/.local/share/mpv/subs' mp.set_property('sub-file-paths', out) end -- cgit v1.2.3