From 6d872c4f8dc4cfb02076cda28328d1aadc1f41ca Mon Sep 17 00:00:00 2001 From: Zacharias-Brohn Date: Fri, 6 Mar 2026 22:57:58 +0100 Subject: [PATCH] lol --- cli/src/zshell/subcommands/scheme.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cli/src/zshell/subcommands/scheme.py b/cli/src/zshell/subcommands/scheme.py index 9175271..44ef9af 100644 --- a/cli/src/zshell/subcommands/scheme.py +++ b/cli/src/zshell/subcommands/scheme.py @@ -67,6 +67,11 @@ def generate( TEMPLATE_DIR = Path(HOME + "/.config/zshell/templates") WALL_PATH = Path() + CONFIG = Path(HOME + "/.config/zshell/config.json") + + if not mode: + with CONFIG.open() as f: + mode = json.load(f)["general"]["color"]["mode"] def hex_to_hct(hex_color: str) -> Hct: s = hex_color.strip()