This commit is contained in:
Zacharias-Brohn
2026-03-06 22:57:58 +01:00
parent 74e417a49c
commit 6d872c4f8d
+5
View File
@@ -67,6 +67,11 @@ def generate(
TEMPLATE_DIR = Path(HOME + "/.config/zshell/templates") TEMPLATE_DIR = Path(HOME + "/.config/zshell/templates")
WALL_PATH = Path() 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: def hex_to_hct(hex_color: str) -> Hct:
s = hex_color.strip() s = hex_color.strip()