feat: replace y-j with configurable Jimaku shortcut

This commit is contained in:
2026-02-09 21:28:56 -08:00
parent f905539179
commit a4df79feb1
15 changed files with 276 additions and 12 deletions

View File

@@ -275,6 +275,7 @@ export interface ShortcutsConfig {
toggleSecondarySub?: string | null;
markAudioCard?: string | null;
openRuntimeOptions?: string | null;
openJimaku?: string | null;
}
export type JimakuLanguagePreference = "ja" | "en" | "none";
@@ -606,6 +607,7 @@ export interface ElectronAPI {
callback: (options: RuntimeOptionState[]) => void,
) => void;
onOpenRuntimeOptions: (callback: () => void) => void;
onOpenJimaku: (callback: () => void) => void;
notifyOverlayModalClosed: (modal: "runtime-options" | "subsync") => void;
}