From 9adb0c6b4b0d24534c583e427618e5d2928ab602 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 7 Oct 2019 19:08:16 -0400 Subject: Debug/refactoring --- src/i3-colors.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/i3-colors.py') diff --git a/src/i3-colors.py b/src/i3-colors.py index 6b51876..925ff3a 100755 --- a/src/i3-colors.py +++ b/src/i3-colors.py @@ -1,7 +1,6 @@ #!/usr/bin/python import config, theme, os, argparse, subprocess - ##### Utils Functions ##### def log(msg,title=""): if len(title)>0: @@ -21,7 +20,7 @@ args = args_parser.parse_args() ##### Apply Theme ##### loaded_theme=theme.load(args.theme_path) -config.apply_theme(os.environ["HOME"]+"/.config/i3/config",loaded_theme) +config.apply(os.environ["HOME"]+"/.config/i3/config",loaded_theme) for meta_key,meta_value in loaded_theme["meta"].items(): log(meta_value,title=meta_key.title()) if args.restart: -- cgit v1.2.3