mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-08-19 02:25:57 +02:00
General: Unhardcode all CACHE_DIR and COLOR_COUNT usage.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user