From 2c94c42cbd269b9b7fae3ad4d33e31e493e739b4 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 17 Jun 2025 12:49:16 +1000 Subject: scheme: add notify opt For sending a notification on error --- src/caelestia/parser.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/caelestia/parser.py') diff --git a/src/caelestia/parser.py b/src/caelestia/parser.py index 824158a..5b1e924 100644 --- a/src/caelestia/parser.py +++ b/src/caelestia/parser.py @@ -68,6 +68,7 @@ def parse_args() -> (argparse.ArgumentParser, argparse.Namespace): set_parser = scheme_command_parser.add_parser("set", help="set the current scheme") set_parser.set_defaults(cls=scheme.Set) + set_parser.add_argument("--notify", action="store_true", help="send a notification on error") set_parser.add_argument("-r", "--random", action="store_true", help="switch to a random scheme") set_parser.add_argument("-n", "--name", choices=get_scheme_names(), help="the name of the scheme to switch to") set_parser.add_argument("-f", "--flavour", help="the flavour to switch to") -- cgit v1.2.3-freya