aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-10-01 09:21:30 +0530
committersinanmohd <sinan@sinanmohd.com>2023-10-01 09:21:30 +0530
commit23c203bc8a0ec7bba33a2554a9d03cd7c54bb5fd (patch)
treeda473cf1d60ce2d32e7a8df3f29e96746ca2e1c2
parent91ed62de1dc8d1428bc27b6282adb2be973fdcbe (diff)
mpv: fix out path when sub-file-paths not set
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
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