Commit b879d204 authored by ak's avatar ak
Browse files

add external web site option

parent a79038c8
......@@ -439,7 +439,7 @@ if __name__ == "__main__":
sleep(1)
os.system(
"ffmpeg -hide_banner -loglevel error -f x11grab -i :0.0 -vf fps=5,scale=1200:-1,smartblur=ls=-0.5 " + filename + ".gif")
"ffmpeg -hide_banner -loglevel error -f x11grab -i :0.0 -vf fps=1,scale=1200:-1,smartblur=ls=-0.9 " + filename + ".gif")
os.system("kitty +kitten icat " + filename + ".gif")
else:
if pkll.conf["taskwarrior"]:
......
......@@ -107,6 +107,7 @@ class Pykyll:
self.conf.update({"editor": "vi"})
self.conf.update({"taskwarrior": False})
self.conf.update({"taskwarrior_context": "pykyll"})
self.conf.update({"export_dir": "CHANGE ME"})
self.conf.update({"sitename": "CHANGE ME [e] Edit –> .config.yml"})
# pconfig = Toolz.sorted_nicely(pconfig)
with open(os.path.join(work_dir, ".config.yml"), "w") as f:
......@@ -499,10 +500,12 @@ class Pykyll:
shutil.copytree(os.path.join(work_dir, "htmlout"),
os.path.join(output_dir))
except FileExistsError:
print(output_dir + " already exists")
print(output_dir + " already exists. Examining.")
for root, subdirs, files in os.walk(os.path.join(work_dir, "htmlout")):
pass
# filecmp.cmp(os.path.join(work_dir))
# files_equal = []
# for root, subdirs, files in os.walk(os.path.join(work_dir, "htmlout")):
# for file in files:
# if filecmp.cmp(os.path(root))
# print(root)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment