1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 19:09:44 +00:00

adding ability to use variables from the config file in templates

This commit is contained in:
deadc0de6
2018-09-01 18:28:53 +02:00
parent 9f3da3c8b7
commit 8a3e7459f3
7 changed files with 137 additions and 5 deletions

View File

@@ -73,6 +73,7 @@ def load_config(confpath, profile):
opts['link'] = False
opts['debug'] = True
opts['dopts'] = ''
opts['variables'] = {}
return conf, opts

View File

@@ -161,6 +161,7 @@ exec bspwm
conf, opts = load_config(confpath, profile)
opts['safe'] = False
opts['debug'] = True
opts['variables'] = {}
install(opts, conf)
# now compare the generated files