This commit is contained in:
2026-03-08 23:06:39 -07:00
parent 501ddd943f
commit 2c2d62589e
6 changed files with 29 additions and 13 deletions

View File

@@ -73,6 +73,9 @@ trust_level = "trusted"
[projects."/home/sudacode/projects/japanese/subminer-yomitan"]
trust_level = "trusted"
[projects."/home/sudacode/github/t3code"]
trust_level = "trusted"
[mcp_servers.backlog]
command = "backlog"
args = ["mcp", "start"]

View File

@@ -1,5 +1,9 @@
{
"keybindings": [
{
"key": "KeyF",
"command": ["cycle", "fullscreen"],
},
{
"key": "KeyR",
"command": ["add", "sub-pos", -5],
@@ -60,11 +64,7 @@
},
"ai": {
"enabled": true,
"alwaysUseAiTranslation": true,
"apiKey": "",
"model": "openai/gpt-oss-120b:free",
"baseUrl": "https://openrouter.ai/api/v1",
"sourceLanguage": "Japanese",
"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": {
@@ -109,6 +109,13 @@
},
"tags": ["SubMiner"],
},
"ai": {
"enabled": true,
"alwaysUseAiTranslation": false,
"apiKeyCommand": "cat ~/.openrouterapikey",
"baseUrl": "https://openrouter.ai/api/v1",
"sourceLanguage": "Japanese",
},
"secondarySub": {
"autoLoadSecondarySub": true,
"secondarySubLanguages": ["en", "eng"],
@@ -171,9 +178,17 @@
"maxEntryResults": 10,
},
"youtubeSubgen": {
"mode": "automatic",
"whisperBin": "/usr/bin/whisper-cli",
"whisperModel": "~/models/whisper.cpp/ggml-small.bin",
"mode": "automatic", // automatic | preprocess | off
"whisperBin": "whisper-cli",
"whisperModel": "~/models/whisper.cpp/ggml-large-v3.bin",
"whisperVadModel": "~/models/ggml-silero-v6.2.0.bin",
"whisperThreads": 8,
"fixWithAi": true,
"ai": {
"model": "google/gemini-2.5-flash-lite",
"systemPrompt": "Fix transcription mistakes only. Preserve the original language exactly. Do not translate, paraphrase, summarize, merge, split, reorder, or omit cues. Preserve cue numbering, cue count, timestamps, line breaks within each cue, and valid SRT formatting exactly. Return only corrected SRT.",
},
"primarySubLanguages": ["ja", "jpn"],
},
"anilist": {
"characterDictionary": {

View File

@@ -19,7 +19,7 @@ bind = $mainMod, V, togglefloating,
bind = $mainMod, d, exec, $menu
# bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod SHIFT, p, exec, "$HOME/.local/bin/hyprland-pin.sh"
bind = $mainMod, t, togglesplit, # dwindle
# bind = $mainMod, t, togglesplit, # dwindle
bind = $mainMod, f, fullscreen,
bind = $mainMod, i, swapnext

View File

@@ -153,3 +153,4 @@ text/html=zen.desktop
text/vnd.trolltech.linguist=zen.desktop
x-scheme-handler/nxm=modorganizer2-nxm-handler.desktop
x-scheme-handler/discord-1361252452329848892=discord-1361252452329848892.desktop
x-scheme-handler/opencode=opencode-desktop-handler.desktop

View File

@@ -90,7 +90,7 @@ window_title=no
# show window controls (close, minimize, maximize) in borderless/fullscreen
window_controls=yes
# same as title but for window_top_bar
windowcontrols_title=${media-title}
# windowcontrols_title=${media-title}
# Subtitle display settings
# raise subtitles above the OSC when shown
@@ -136,7 +136,7 @@ download_path=~~desktop/mpv
# show screenshot button
screenshot_button=no
# flag for screenshot button: "subtitles", "video", "window", "each-frame"
screenshot_flag=subtitles
# screenshot_flag=subtitles
# show window on top button
ontop_button=yes

View File

@@ -4,7 +4,6 @@ download_current_video=ctrl+d
download_selected_video=ctrl+D
move_cursor_down=ctrl+j
move_cursor_up=ctrl+k
load_queue=ctrl+l
move_video=ctrl+m
play_next_in_queue=ctrl+n
open_video_in_browser=ctrl+o
@@ -12,8 +11,6 @@ open_channel_in_browser=ctrl+O
play_previous_in_queue=ctrl+p
print_current_video=ctrl+P
print_queue=ctrl+q
save_queue=ctrl+s
save_full_queue=ctrl+S
remove_from_queue=ctrl+x
play_selected_video=ctrl+ENTER
browser=zen-browser