aboutsummaryrefslogtreecommitdiffstats
path: root/eatit-cfg.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-06-30 11:08:37 -0400
committerSquibid <me@zacharyscheiman.com>2023-06-30 11:08:37 -0400
commit25043cf37edc469ea97851011b058bdc480edb5e (patch)
tree606a8e355977513405c4b6315c88584c22691015 /eatit-cfg.lua
parent9d2494be1ef0d1d9d0fb014d8383a4dac114efcb (diff)
downloadeat-it-25043cf37edc469ea97851011b058bdc480edb5e.tar.gz
eat-it-25043cf37edc469ea97851011b058bdc480edb5e.tar.bz2
eat-it-25043cf37edc469ea97851011b058bdc480edb5e.zip
move config out of script to make auto updating viable
Diffstat (limited to '')
-rw-r--r--eatit-cfg.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/eatit-cfg.lua b/eatit-cfg.lua
new file mode 100644
index 0000000..73b7a87
--- /dev/null
+++ b/eatit-cfg.lua
@@ -0,0 +1,20 @@
+-- NOTE: The variables in this file need to be global in order to be read
+-- after being called with dofile()
+
+plugins = { -- the plugins you want to load
+ -- link to repo file dest dir
+ { 'https://git.squi.bid/eat-it', 'eatit.lua', 'scripts' },
+}
+
+-- options for eat it
+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
+ }
+}