mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-09 15:38:30 +01:00
misc: cleanup
This commit is contained in:
parent
311fbf2b6c
commit
385dcb6887
@ -120,7 +120,7 @@ def get(img, light=False, backend="wal", cache_dir=CACHE_DIR):
|
||||
logging.info("Found cached colorscheme.")
|
||||
|
||||
else:
|
||||
logging.info("Generating a colorscheme...")
|
||||
logging.info("Generating a colorscheme.")
|
||||
backend = get_backend(backend)
|
||||
|
||||
# Dynamically import the backend we want to use.
|
||||
|
@ -33,12 +33,12 @@ def oomox(gen_theme):
|
||||
"""Call oomox to generate a theme."""
|
||||
if gen_theme:
|
||||
if not shutil.which("oomox-cli"):
|
||||
logging.warning("Oomox not found, skipping...")
|
||||
logging.warning("Oomox not found, skipping.")
|
||||
return
|
||||
|
||||
oomox_file = os.path.join(CACHE_DIR, "colors-oomox")
|
||||
|
||||
logging.info("Waiting for oomox...")
|
||||
logging.info("Waiting for Oomox.")
|
||||
subprocess.run(["oomox-cli", "-o", "wal", oomox_file],
|
||||
stdout=subprocess.DEVNULL)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user