From 62b250303a876afa95ec46aabb56979c73ee81d0 Mon Sep 17 00:00:00 2001 From: Zacharias-Brohn Date: Fri, 6 Mar 2026 23:05:34 +0100 Subject: [PATCH] lol --- cli/src/zshell/subcommands/scheme.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/zshell/subcommands/scheme.py b/cli/src/zshell/subcommands/scheme.py index 44ef9af..7194175 100644 --- a/cli/src/zshell/subcommands/scheme.py +++ b/cli/src/zshell/subcommands/scheme.py @@ -28,7 +28,7 @@ def generate( preset: Optional[str] = typer.Option( None, help="Name of a premade scheme in this format: :"), mode: Optional[str] = typer.Option( - "dark", help="Mode of the preset scheme (dark or light)."), + None, help="Mode of the preset scheme (dark or light)."), ): if preset is not None and image_path is not None: @@ -69,7 +69,7 @@ def generate( WALL_PATH = Path() CONFIG = Path(HOME + "/.config/zshell/config.json") - if not mode: + if mode is None: with CONFIG.open() as f: mode = json.load(f)["general"]["color"]["mode"]