This commit is contained in:
2026-02-07 23:52:21 -08:00
parent 8e171bf47f
commit 781262a881
12 changed files with 83 additions and 43 deletions

View File

@@ -16,7 +16,7 @@
"hooks": [ "hooks": [
{ {
"type": "command", "type": "command",
"command": "notify-send 'Claude Code' 'Claude Code needs your attention'" "command": "osascript -e 'display notification \"Claude Code needs your attention\" with title \"Claude Code\"'"
} }
] ]
} }
@@ -25,7 +25,8 @@
"enabledPlugins": { "enabledPlugins": {
"pyright-lsp@claude-plugins-official": true, "pyright-lsp@claude-plugins-official": true,
"typescript-lsp@claude-plugins-official": true, "typescript-lsp@claude-plugins-official": true,
"clangd-lsp@claude-plugins-official": true "clangd-lsp@claude-plugins-official": true,
"claude-mem@thedotmack": true
}, },
"sandbox": { "sandbox": {
"enabled": false, "enabled": false,

View File

@@ -165,7 +165,7 @@ glsl-shaders="~~/shaders/ArtCNN_C4F32.glsl"
scale=ewa_lanczossharp scale=ewa_lanczossharp
dither=error-diffusion dither=error-diffusion
deband=yes # Crucial for anime gradients deband=yes # Crucial for anime gradients
input-ipc-server=/tmp/mpv-yomitan-socket input-ipc-server=/tmp/subminer-socket
[anime-subs] [anime-subs]
profile-cond=p["slang"] == "ja" or p["slang"] == "ja.hi" profile-cond=p["slang"] == "ja" or p["slang"] == "ja.hi"

View File

@@ -198,7 +198,7 @@ glsl-shaders="~~/shaders/ArtCNN_C4F32.glsl"
scale=ewa_lanczossharp scale=ewa_lanczossharp
dither=error-diffusion dither=error-diffusion
deband=yes # Crucial for anime gradients deband=yes # Crucial for anime gradients
input-ipc-server=/tmp/mpv-yomitan-socket input-ipc-server=/tmp/subminer-socket
# Anime subtitles profile # Anime subtitles profile
[anime-subs] [anime-subs]

View File

@@ -30,6 +30,6 @@ menu_timeout=5
show_errors=yes show_errors=yes
ytdlp_file_format=mp4 ytdlp_file_format=mp4
ytdlp_output_template=%(uploader)s/%(title)s.%(ext)s ytdlp_output_template=%(uploader)s/%(title)s.%(ext)s
use_history_db=yes use_history_db=no
backend_host=http://localhost backend_host=http://localhost
backend_port=42069 backend_port=42069

View File

@@ -1 +0,0 @@
../submodules/animecards/animecards

View File

@@ -1 +0,0 @@
../submodules/autosubsync-mpv

View File

@@ -1 +0,0 @@
../submodules/mpvacious

View File

@@ -1 +0,0 @@
../submodules/mpv-youtube-upnext/youtube-upnext.lua

View File

@@ -1,7 +1,4 @@
{ {
"subtitlePosition": {
"yPercent": 17.38459152016546
},
"keybindings": [ "keybindings": [
{ {
"key": "Space", "key": "Space",
@@ -58,8 +55,9 @@
] ]
} }
], ],
"auto_start_overlay": false,
"texthooker": { "texthooker": {
"openBrowser": false "openBrowser": true
}, },
"websocket": { "websocket": {
"enabled": "auto", "enabled": "auto",
@@ -70,32 +68,46 @@
"url": "http://127.0.0.1:8765", "url": "http://127.0.0.1:8765",
"deck": "Minecraft", "deck": "Minecraft",
"pollingRate": 200, "pollingRate": 200,
"audioField": "ExpressionAudio", "fields": {
"imageField": "Picture", "audio": "ExpressionAudio",
"sentenceField": "Sentence", "image": "Picture",
"generateAudio": true, "sentence": "Sentence",
"generateImage": true, "miscInfo": "MiscInfo"
"imageType": "avif", },
"imageFormat": "webp", "media": {
"miscInfoPattern": "[mpv-yomitan] %f (%t)", "generateAudio": true,
"overwriteAudio": false, "generateImage": true,
"overwriteImage": true, "imageType": "avif",
"highlightWord": true, "imageFormat": "webp",
"showNotificationOnUpdate": true, "animatedFps": 24,
"notificationType": "system", "animatedMaxWidth": 640,
"audioPadding": 0.5, "animatedMaxHeight": null,
"fallbackDuration": 3, "animatedCrf": 35,
"animatedFps": 24, "audioPadding": 0.5,
"animatedMaxWidth": 640, "fallbackDuration": 3,
"animatedMaxHeight": null, "maxMediaDuration": 30
"animatedCrf": 35, },
"autoUpdateNewCards": false, "behavior": {
"sentenceCardModel": "Lapis Morph", "overwriteAudio": false,
"sentenceCardSentenceField": "Sentence", "overwriteImage": true,
"sentenceCardAudioField": "SentenceAudio", "mediaInsertMode": "append",
"isLapis": true, "highlightWord": true,
"mediaInsertMode": "append", "notificationType": "system",
"auto_start_overlay": false, "autoUpdateNewCards": false
},
"metadata": {
"pattern": "[SubMiner] %f (%t)"
},
"isLapis": {
"enabled": true,
"sentenceCardModel": "Lapis Morph",
"sentenceCardSentenceField": "Sentence",
"sentenceCardAudioField": "SentenceAudio"
},
"isKiku": {
"enabled": true,
"fieldGrouping": "manual"
},
"secondarySub": { "secondarySub": {
"autoLoadSecondarySub": true, "autoLoadSecondarySub": true,
"secondarySubLanguages": [ "secondarySubLanguages": [
@@ -104,8 +116,16 @@
] ]
} }
}, },
"subsync": {
"shortcut": "Alt+KeyS",
"defaultMode": "manual",
"alass_path": "/Users/sudacode/.local/bin/alass-cli",
"ffsubsync_path": "/Users/sudacode/.local/bin/ffsubsync",
"ffmpeg_path": "/opt/homebrew/bin/ffmpeg"
},
"subtitleStyle": { "subtitleStyle": {
"ontFamily": "Noto Sans CJK JP Regular, Noto Sans CJK JP, Arial Unicode MS, Arial, sans-serif", "fontFamily": "Noto Sans CJK JP, Arial Unicode MS, Arial, sans-serif",
"fontSize": 35, "fontSize": 35,
"fontColor": "#cad3f5", "fontColor": "#cad3f5",
"fontWeight": "normal", "fontWeight": "normal",
@@ -117,6 +137,15 @@
"backgroundColor": "transparent" "backgroundColor": "transparent"
} }
}, },
"jimaku": {
// "apiKey": "YOUR_API_KEY",
"apiKeyCommand": "cat ~/.jimaku-api-key"
// or use a command that outputs the key:
// "apiKeyCommand": "cat ~/.jimaku_key",
"apiBaseUrl": "https://jimaku.cc",
"languagePreference": "ja",
"maxEntryResults": 10
},
"shortcuts": { "shortcuts": {
"copySubtitle": "CommandOrControl+C", "copySubtitle": "CommandOrControl+C",
"copySubtitleMultiple": "CommandOrControl+Shift+C", "copySubtitleMultiple": "CommandOrControl+Shift+C",

View File

@@ -1,6 +1,7 @@
[user] [user]
name = sudacode name = sudacode
email = suda@sudacode.com email = suda@sudacode.com
signingkey = /Users/sudacode/.ssh/yuh.pub
[init] [init]
defaultBranch = main defaultBranch = main
[push] [push]
@@ -19,4 +20,8 @@
[color] [color]
ui = auto ui = auto
[core] [core]
pager = less -FRX pager = delta
[gpg]
format = ssh
[commit]
gpgsign = true

View File

@@ -62,3 +62,12 @@ zstyle ':url-quote-magic:*' url-quotes ''
# bind it to both typing and pasting # bind it to both typing and pasting
zle -N self-insert url-quote-magic zle -N self-insert url-quote-magic
zle -N bracketed-paste bracketed-paste-magic zle -N bracketed-paste bracketed-paste-magic
# bun completions
[ -s "/Users/sudacode/.bun/_bun" ] && source "/Users/sudacode/.bun/_bun"
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
alias claude-mem='/Users/sudacode/.bun/bin/bun "/Users/sudacode/.claude/plugins/marketplaces/thedotmack/plugin/scripts/worker-service.cjs"'