From 2e159c6ab5a4e6fe96ff2048d250a113fd90a5e8 Mon Sep 17 00:00:00 2001 From: sudacode Date: Fri, 3 Apr 2026 01:09:35 -0700 Subject: [PATCH] update --- .claude/settings.json##os.Linux | 8 +- .config/SubMiner/config.jsonc##os.Linux | 155 +++++++++--------------- .config/hypr/hyprsunset.conf | 4 +- 3 files changed, 60 insertions(+), 107 deletions(-) diff --git a/.claude/settings.json##os.Linux b/.claude/settings.json##os.Linux index 677679c..6f36079 100644 --- a/.claude/settings.json##os.Linux +++ b/.claude/settings.json##os.Linux @@ -40,6 +40,7 @@ "Bash(yadm push *)" ] }, + "model": "sonnet", "hooks": { "Notification": [ { @@ -61,9 +62,9 @@ "code-review@claude-plugins-official": true, "code-simplifier@claude-plugins-official": true, "playwright@claude-plugins-official": true, - "superpowers@claude-plugins-official": true, "coderabbit@claude-plugins-official": true, - "discord@claude-plugins-official": true + "discord@claude-plugins-official": true, + "chrome-devtools-mcp@claude-plugins-official": true }, "sandbox": { "enabled": false, @@ -79,6 +80,5 @@ ] }, "voiceEnabled": true, - "skipDangerousModePermissionPrompt": true, - "model": "sonnet" + "skipDangerousModePermissionPrompt": true } diff --git a/.config/SubMiner/config.jsonc##os.Linux b/.config/SubMiner/config.jsonc##os.Linux index 131777d..52478f2 100644 --- a/.config/SubMiner/config.jsonc##os.Linux +++ b/.config/SubMiner/config.jsonc##os.Linux @@ -2,58 +2,32 @@ "keybindings": [ { "key": "KeyF", - "command": [ - "cycle", - "fullscreen" - ] + "command": ["cycle", "fullscreen"], }, { "key": "KeyR", - "command": [ - "add", - "sub-pos", - -5 - ] + "command": ["add", "sub-pos", -5], }, { "key": "Shift+KeyR", - "command": [ - "add", - "sub-pos", - 5 - ] + "command": ["add", "sub-pos", 5], }, { "key": "KeyJ", - "command": [ - "cycle", - "sub" - ] + "command": ["cycle", "sub"], }, { "key": "BracketRight", - "command": [ - "add", - "sub-delay", - 0.1 - ] + "command": ["add", "sub-delay", 0.1], }, { "key": "BracketLeft", - "command": [ - "add", - "sub-delay", - -0.1 - ] + "command": ["add", "sub-delay", -0.1], }, { "key": "Backslash", - "command": [ - "set_property", - "sub-delay", - 0 - ] - } + "command": ["set_property", "sub-delay", 0], + }, ], "shortcuts": { "copySubtitle": "CommandOrControl+C", @@ -68,16 +42,16 @@ "markAudioCard": "CommandOrControl+Shift+A", "openRuntimeOptions": "CommandOrControl+Shift+O", "toggleVisibleOverlayGlobal": "Alt+Shift+O", - "toggleInvisibleOverlayGlobal": "Alt+Shift+I" + "toggleInvisibleOverlayGlobal": "Alt+Shift+I", }, "auto_start_overlay": false, "texthooker": { "launchAtStartup": true, - "openBrowser": false + "openBrowser": false, }, "websocket": { "enabled": "auto", - "port": 6677 + "port": 6677, }, "ankiConnect": { "enabled": true, @@ -88,19 +62,19 @@ "enabled": true, "host": "127.0.0.1", "port": 8766, - "upstreamUrl": "http://127.0.0.1:8765" + "upstreamUrl": "http://127.0.0.1:8765", }, "fields": { "audio": "ExpressionAudio", "image": "Picture", "sentence": "Sentence", "miscInfo": "MiscInfo", - "translation": "SelectionText" + "translation": "SelectionText", }, "ai": { "enabled": true, "model": "openai/gpt-oss-120b:free", - "systemPrompt": "You are a translation engine for translating Japanese into natural-sounding, context-aware English. Return only the translated text with no extra explanations or commentary. The translation must preserve the original tone and intent of the source. If the input is not in the target language, translate it to the target language. If the input is already in the target language, return it as is." + "systemPrompt": "You are a translation engine for translating Japanese into natural-sounding, context-aware English. Return only the translated text with no extra explanations or commentary. The translation must preserve the original tone and intent of the source. If the input is not in the target language, translate it to the target language. If the input is already in the target language, return it as is.", }, "media": { "generateAudio": true, @@ -113,7 +87,7 @@ "animatedCrf": 35, "audioPadding": 0.5, "fallbackDuration": 3, - "syncAnimatedImageToWordAudio": true + "syncAnimatedImageToWordAudio": true, }, "behavior": { "overwriteAudio": false, @@ -122,69 +96,55 @@ "highlightWord": true, "notificationType": "both", "showNotificationOnUpdate": true, - "autoUpdateNewCards": true + "autoUpdateNewCards": true, }, "knownWords": { "decks": { - "Minecraft": [ - "Expression", - "Reading" - ], - "Kaishi 1.5k": [ - "Word", - "Word Reading" - ] + "Minecraft": ["Expression", "Reading"], + "Kaishi 1.5k": ["Word", "Word Reading"], }, "highlightEnabled": true, "refreshMinutes": 60, "matchMode": "headword", - "addMinedWordsImmediately": true + "addMinedWordsImmediately": true, }, "nPlusOne": { - "minSentenceWords": 3 + "minSentenceWords": 3, }, "metadata": { - "pattern": "[SubMiner] %f (%t)" + "pattern": "[SubMiner] %f (%t)", }, "isLapis": { "enabled": true, - "sentenceCardModel": "Lapis Morph" + "sentenceCardModel": "Lapis Morph", }, "isKiku": { "enabled": true, "fieldGrouping": "manual", - "deleteDuplicateInAuto": false + "deleteDuplicateInAuto": false, }, - "tags": [ - "SubMiner" - ] + "tags": ["SubMiner"], }, "ai": { "enabled": true, "alwaysUseAiTranslation": false, "apiKeyCommand": "cat ~/.openrouterapikey", "baseUrl": "https://openrouter.ai/api/v1", - "sourceLanguage": "Japanese" + "sourceLanguage": "Japanese", }, "secondarySub": { "autoLoadSecondarySub": true, - "secondarySubLanguages": [ - "en", - "eng" - ] + "secondarySubLanguages": ["en", "eng"], }, "youtube": { - "primarySubLanguages": [ - "ja", - "jpn" - ] + "primarySubLanguages": ["ja", "jpn"], }, "subsync": { "defaultMode": "manual", "alass_path": null, "ffsubsync_path": null, "ffmpeg_path": null, - "replace": true + "replace": true, }, "subtitleStyle": { "fontFamily": "M PLUS 1 Medium, Source Han Sans JP, Noto Sans CJK JP", @@ -207,7 +167,7 @@ "secondary": { "fontFamily": "Manrope, Inter", "fontSize": 24, - "fontColor": "#cad3f5" + "fontColor": "#cad3f5", }, "frequencyDictionary": { "enabled": true, @@ -216,13 +176,7 @@ "mode": "single", "matchMode": "headword", "singleColor": "#f5a97f", - "bandedColors": [ - "#ed8796", - "#f5a97f", - "#f9e2af", - "#a6e3a1", - "#8aadf4" - ] + "bandedColors": ["#ed8796", "#f5a97f", "#f9e2af", "#a6e3a1", "#8aadf4"], }, "enableJlpt": true, "jlptColors": { @@ -230,16 +184,16 @@ "N2": "#f5a97f", "N3": "#f9e2af", "N4": "#a6e3a1", - "N5": "#8aadf4" + "N5": "#8aadf4", }, "nPlusOneColor": "#c6a0f6", - "knownWordColor": "#a6da95" + "knownWordColor": "#a6da95", }, "jimaku": { "apiKeyCommand": "cat ~/.jimaku-api-key", "apiBaseUrl": "https://jimaku.cc", "languagePreference": "ja", - "maxEntryResults": 10 + "maxEntryResults": 10, }, "anilist": { "characterDictionary": { @@ -247,13 +201,20 @@ "collapsibleSections": { "description": false, "characterInformation": false, - "voicedBy": false - } - } + "voicedBy": false, + }, + }, }, "immersionTracking": { "enabled": true, - "dbPath": "" + "dbPath": "", + "backend": { + "mode": "remote", + "remote": { + "baseUrl": "http://subminer-db:5432", + "deviceId": "cachypc", + }, + }, }, "jellyfin": { "enabled": true, @@ -268,21 +229,13 @@ "remoteControlAutoConnect": true, "autoAnnounce": false, "remoteControlDeviceName": "SubMiner", - "directPlayContainers": [ - "mkv", - "mp4", - "webm", - "mov", - "flac", - "mp3", - "aac" - ], + "directPlayContainers": ["mkv", "mp4", "webm", "mov", "flac", "mp3", "aac"], "transcodeVideoCodec": "h265", "pullPictures": true, - "iconCacheDir": "~/S/japanese/subminer-jellyfin-icons" + "iconCacheDir": "~/S/japanese/subminer-jellyfin-icons", }, "logging": { - "level": "info" + "level": "info", }, "discordPresence": { "enabled": true, @@ -295,23 +248,23 @@ "buttonLabel": "", "buttonUrl": "", "updateIntervalMs": 15000, - "debounceMs": 750 + "debounceMs": 750, }, "startupWarmups": { "lowPowerMode": false, "mecab": true, "yomitanExtension": true, "subtitleDictionaries": true, - "jellyfinRemoteSession": false + "jellyfinRemoteSession": false, }, "yomitan": { - "externalProfilePath": "" + "externalProfilePath": "", }, "stats": { "toggleKey": "Backquote", "serverPort": 6969, "autoStartServer": true, - "autoOpenBrowser": false + "autoOpenBrowser": false, }, "subtitleSidebar": { "enabled": true, @@ -327,10 +280,10 @@ "timestampColor": "#a5adcb", "activeLineColor": "#f5bde6", "activeLineBackgroundColor": "rgba(138, 173, 244, 0.22)", - "hoverLineBackgroundColor": "rgba(54, 58, 79, 0.84)" + "hoverLineBackgroundColor": "rgba(54, 58, 79, 0.84)", }, "controller": { "preferredGamepadId": "8BitDo 8BitDo Ultimate 2 Wireless Controller for PC (Vendor: 2dc8 Product: 310b)", - "preferredGamepadLabel": "8BitDo 8BitDo Ultimate 2 Wireless Controller for PC (Vendor: 2dc8 Product: 310b)" - } + "preferredGamepadLabel": "8BitDo 8BitDo Ultimate 2 Wireless Controller for PC (Vendor: 2dc8 Product: 310b)", + }, } diff --git a/.config/hypr/hyprsunset.conf b/.config/hypr/hyprsunset.conf index 7bd6a1b..3ba890b 100644 --- a/.config/hypr/hyprsunset.conf +++ b/.config/hypr/hyprsunset.conf @@ -1,4 +1,4 @@ -max-gamma = 150 +max-gamma = 100 profile { time = 7:30 @@ -8,5 +8,5 @@ profile { profile { time = 21:00 temperature = 5500 - gamma = 0.8 + gamma = 1 }