oomox: Removed oomox support. Use wpgtk

This commit is contained in:
Dylan Araps 2019-01-04 22:11:17 +02:00
parent 1e416a18a8
commit 8486495c1e
2 changed files with 0 additions and 21 deletions

View File

@ -65,9 +65,6 @@ def get_args():
arg.add_argument("-i", metavar="\"/path/to/img.jpg\"",
help="Which image or directory to use.")
arg.add_argument("-g", action="store_true",
help="Generate an oomox theme.")
arg.add_argument("-l", action="store_true",
help="Generate a light colorscheme.")
@ -192,7 +189,6 @@ def parse_args(parser):
util.disown([cmd])
if not args.e:
reload.oomox(args.g)
reload.gtk()

View File

@ -29,23 +29,6 @@ def xrdb(xrdb_files=None):
subprocess.run(["xrdb", "-merge", "-quiet", file])
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.")
return
oomox_file = os.path.join(CACHE_DIR, "colors-oomox")
logging.info("Waiting for Oomox.")
subprocess.run(["oomox-cli", "-o", "wal", oomox_file],
stdout=subprocess.DEVNULL)
else:
logging.info("Use -g to generate an oomox theme.")
def gtk():
"""Reload GTK theme on the fly."""
# Here we call a Python 2 script to reload the GTK themes.