aboutsummaryrefslogtreecommitdiff
path: root/src/i3-colors.py
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2019-10-07 19:08:16 -0400
committerLoic Guegan <manzerbredes@mailbox.org>2019-10-07 19:08:16 -0400
commit9adb0c6b4b0d24534c583e427618e5d2928ab602 (patch)
tree14bb97cbe3242e0c7f0eb44ba520a80e8deb20cd /src/i3-colors.py
parent3e8c84e135f893649ed90079c1a6149970b2bcb8 (diff)
Debug/refactoring
Diffstat (limited to 'src/i3-colors.py')
-rwxr-xr-xsrc/i3-colors.py3
1 files changed, 1 insertions, 2 deletions
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: