diff options
Diffstat (limited to 'eatit.lua')
-rw-r--r-- | eatit.lua | 20 |
1 files changed, 1 insertions, 19 deletions
@@ -1,24 +1,6 @@ local mp = require('mp') --- TODO: Move plugins (and opts) table to seperate file so that we can auto update without --- messing with the user's configs -local plugins = { -- the plugins you want to load - -- link to repo file dest dir - -- { 'https://git.squi.bid/eat-it', 'eatit.lua', 'scripts' }, -- this is an example uncommenting it (and updating) will overwrite your config -} - --- options for eat it -local opts = { - logging = { -- options for logging - log = true, - logdate = '[%H:%M:%S]:', - logfile = '~~/eatit.log', - }, - dl = { -- options for dealing with the git repos - dir = '/tmp/mpv-eatit', - powerwash = false, -- if true the tmp dir gets deleted after mpv closes - } -} +dofile(mp.command_native({'expand-path', '~~/eatit-cfg.lua'})) local function tablelength(T) local count = 0 |