toggle: improvements

Closes #40
This commit is contained in:
2 * r + 2 * t
2025-08-16 17:41:23 +10:00
parent e24656da0e
commit 0df89887a0
2 changed files with 19 additions and 12 deletions
+1 -3
View File
@@ -28,9 +28,7 @@ def parse_args() -> (argparse.ArgumentParser, argparse.Namespace):
# Create parser for toggle opts
toggle_parser = command_parser.add_parser("toggle", help="toggle a special workspace")
toggle_parser.set_defaults(cls=toggle.Command)
toggle_parser.add_argument(
"workspace", choices=["communication", "music", "sysmon", "specialws", "todo"], help="the workspace to toggle"
)
toggle_parser.add_argument("workspace", help="the workspace to toggle")
# Create parser for scheme opts
scheme_parser = command_parser.add_parser("scheme", help="manage the colour scheme")