General: Unhardcode all CACHE_DIR and COLOR_COUNT usage.

This commit is contained in:
Dylan Araps
2017-07-20 23:19:13 +10:00
parent a3d4b3d9f3
commit 52cd5e5f1a
11 changed files with 57 additions and 70 deletions

View File

@@ -1,3 +1,4 @@
"""Test script for wal api."""
import pywal
@@ -20,9 +21,9 @@ def main():
pywal.reload_env()
# Export template files.
pywal.export_all_templates(colors,
"path/to/templates",
"path/to/save/files/")
# pywal.export_all_templates(colors,
# "path/to/templates",
# "path/to/save/files/")
# Set the wallpaper.
pywal.set_wallpaper(image)