add more theme options

patch bump
This commit is contained in:
onyx-and-iris 2025-06-25 18:06:59 +01:00
parent 3c837f337e
commit d2486be29a
2 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[project]
name = "simple-recorder"
version = "0.1.1"
version = "0.1.2"
description = "A simple OBS recorder"
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
dependencies = [

View File

@ -78,7 +78,15 @@ class Stop(Command):
def theme_parser(value: str) -> str:
"""Parse the theme argument."""
themes = ["Light Purple", "Neutral Blue", "Reds", "Sandy Beach"]
themes = [
"Light Purple",
"Neutral Blue",
"Reds",
"Sandy Beach",
"Kayak",
"Light Blue 2",
"Dark Teal1",
]
if value not in themes:
raise ClypiException(
f"Invalid theme: {value}. Available themes: {', '.join(themes)}"
@ -148,7 +156,7 @@ class SimpleRecorder(Command):
def run():
"""Run the CLI application."""
"""Run the application."""
SimpleRecorder.parse().start()