From 3218ceada152e356f061261c342469e3db974397 Mon Sep 17 00:00:00 2001 From: sudacode Date: Wed, 4 Feb 2026 02:35:42 -0800 Subject: [PATCH] move config --- .../config.jsonc | 93 +++++++++++++------ 1 file changed, 63 insertions(+), 30 deletions(-) rename .config/{mpv-yomitan-overlay => subminer}/config.jsonc (54%) diff --git a/.config/mpv-yomitan-overlay/config.jsonc b/.config/subminer/config.jsonc similarity index 54% rename from .config/mpv-yomitan-overlay/config.jsonc rename to .config/subminer/config.jsonc index 79e36e4..e3a9d35 100644 --- a/.config/mpv-yomitan-overlay/config.jsonc +++ b/.config/subminer/config.jsonc @@ -1,59 +1,69 @@ { "subtitlePosition": { - "yPercent": 16.541882109617372, + "yPercent": 17.38459152016546 }, "keybindings": [ { "key": "Space", - "command": ["cycle", "pause"], + "command": [ + "cycle", + "pause" + ] }, { "key": "ArrowRight", - "command": ["seek", 5], + "command": [ + "seek", + 5 + ] }, { "key": "ArrowLeft", - "command": ["seek", -5], + "command": [ + "seek", + -5 + ] }, { - "key": "Ctrl+Shift+KeyN", - "command": ["script-binding", "mpvacious-export-note"], + "key": "ArrowRight", + "command": [ + "seek", + 5 + ] }, { - "key": "Ctrl+Shift+KeyV", - "command": ["script-binding", "mpvacious-secondary-sid-toggle"], + "key": "ArrowUp", + "command": [ + "seek", + 60 + ] }, { - "key": "Shift+KeyL", - "command": ["script-binding", "mpvacious-sub-seek-forward"], - }, - { - "key": "Shift+KeyH", - "command": ["script-binding", "mpvacious-sub-seek-back"], - }, - { - "key": "Ctrl+Shift+KeyH", - "command": ["script-binding", "mpvacious-sub-replay"], - }, - { - "key": "Ctrl+Shift+KeyL", - "command": ["script-binding", "mpvacious-sub-play-up-to-next"], + "key": "ArrowDown", + "command": [ + "seek", + -60 + ] }, { "key": "KeyQ", - "command": ["quit"], + "command": [ + "quit" + ] }, { "key": "Ctrl+KeyW", - "command": ["quit"], - }, + "command": [ + "quit" + ] + } ], "texthooker": { - "openBrowser": false, + "openBrowser": false }, "websocket": { "enabled": "auto", - "port": 6677, + "port": 6677 }, "ankiConnect": { "enabled": true, @@ -84,6 +94,28 @@ "sentenceCardSentenceField": "Sentence", "sentenceCardAudioField": "SentenceAudio", "isLapis": true, + "mediaInsertMode": "append", + "auto_start_overlay": false, + "secondarySub": { + "autoLoadSecondarySub": true, + "secondarySubLanguages": [ + "en", + "eng" + ] + } + }, + "subtitleStyle": { + "ontFamily": "Noto Sans CJK JP Regular, Noto Sans CJK JP, Arial Unicode MS, Arial, sans-serif", + "fontSize": 35, + "fontColor": "#cad3f5", + "fontWeight": "normal", + "fontStyle": "normal", + "backgroundColor": "rgb(30, 32, 48, 0.88)", + "secondary": { + "fontSize": 24, + "fontColor": "#cad3f5", + "backgroundColor": "transparent" + } }, "shortcuts": { "copySubtitle": "CommandOrControl+C", @@ -91,6 +123,7 @@ "updateLastCardFromClipboard": "CommandOrControl+V", "mineSentence": "CommandOrControl+S", "mineSentenceMultiple": "CommandOrControl+Shift+S", - "multiCopyTimeoutMs": 3000, - }, -} + "toggleSecondarySub": "CommandOrControl+Shift+V", + "multiCopyTimeoutMs": 3000 + } +} \ No newline at end of file