summaryrefslogtreecommitdiff
path: root/.config/mpv/scripts
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-19 23:12:43 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-19 23:12:43 +0100
commit10c4b7530a953a8a2fccdeeda7b6d84d72ac3b61 (patch)
tree4eb9306876dc6d972de579749b194f07e3595354 /.config/mpv/scripts
parent68709fca3daa522ee54be1331240f2264f269d93 (diff)
Add mpv config
Diffstat (limited to '.config/mpv/scripts')
-rw-r--r--.config/mpv/scripts/modules.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/mpv/scripts/modules.lua b/.config/mpv/scripts/modules.lua
new file mode 100644
index 0000000..bbdbc66
--- /dev/null
+++ b/.config/mpv/scripts/modules.lua
@@ -0,0 +1,5 @@
+local mpv_config_dir_path = require("mp").command_native({ "expand-path", "~~/" })
+function load(relative_path)
+ dofile(mpv_config_dir_path .. "/script_modules/" .. relative_path)
+end
+load("mpvSockets/mpvSockets.lua")