[codex] Replace mpv fullscreen toggle with launch mode config (#48)

Co-authored-by: bee <autumn@skerritt.blog>
This commit is contained in:
Autumn (Bee)
2026-04-07 16:38:15 +09:00
committed by GitHub
parent 7a64488ed5
commit bc7dde3b02
31 changed files with 305 additions and 31 deletions

View File

@@ -50,8 +50,11 @@ export interface TexthookerConfig {
openBrowser?: boolean;
}
export type MpvLaunchMode = 'normal' | 'maximized' | 'fullscreen';
export interface MpvConfig {
executablePath?: string;
launchMode?: MpvLaunchMode;
}
export type SubsyncMode = 'auto' | 'manual';
@@ -129,6 +132,7 @@ export interface ResolvedConfig {
texthooker: Required<TexthookerConfig>;
mpv: {
executablePath: string;
launchMode: MpvLaunchMode;
};
controller: {
enabled: boolean;