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": [
{
"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": {
"pyright-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": {
"enabled": false,

View File

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

View File

@@ -30,6 +30,6 @@ menu_timeout=5
show_errors=yes
ytdlp_file_format=mp4
ytdlp_output_template=%(uploader)s/%(title)s.%(ext)s
use_history_db=yes
use_history_db=no
backend_host=http://localhost
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": [
{
"key": "Space",
@@ -58,8 +55,9 @@
]
}
],
"auto_start_overlay": false,
"texthooker": {
"openBrowser": false
"openBrowser": true
},
"websocket": {
"enabled": "auto",
@@ -70,32 +68,46 @@
"url": "http://127.0.0.1:8765",
"deck": "Minecraft",
"pollingRate": 200,
"audioField": "ExpressionAudio",
"imageField": "Picture",
"sentenceField": "Sentence",
"generateAudio": true,
"generateImage": true,
"imageType": "avif",
"imageFormat": "webp",
"miscInfoPattern": "[mpv-yomitan] %f (%t)",
"overwriteAudio": false,
"overwriteImage": true,
"highlightWord": true,
"showNotificationOnUpdate": true,
"notificationType": "system",
"audioPadding": 0.5,
"fallbackDuration": 3,
"animatedFps": 24,
"animatedMaxWidth": 640,
"animatedMaxHeight": null,
"animatedCrf": 35,
"autoUpdateNewCards": false,
"sentenceCardModel": "Lapis Morph",
"sentenceCardSentenceField": "Sentence",
"sentenceCardAudioField": "SentenceAudio",
"isLapis": true,
"mediaInsertMode": "append",
"auto_start_overlay": false,
"fields": {
"audio": "ExpressionAudio",
"image": "Picture",
"sentence": "Sentence",
"miscInfo": "MiscInfo"
},
"media": {
"generateAudio": true,
"generateImage": true,
"imageType": "avif",
"imageFormat": "webp",
"animatedFps": 24,
"animatedMaxWidth": 640,
"animatedMaxHeight": null,
"animatedCrf": 35,
"audioPadding": 0.5,
"fallbackDuration": 3,
"maxMediaDuration": 30
},
"behavior": {
"overwriteAudio": false,
"overwriteImage": true,
"mediaInsertMode": "append",
"highlightWord": true,
"notificationType": "system",
"autoUpdateNewCards": false
},
"metadata": {
"pattern": "[SubMiner] %f (%t)"
},
"isLapis": {
"enabled": true,
"sentenceCardModel": "Lapis Morph",
"sentenceCardSentenceField": "Sentence",
"sentenceCardAudioField": "SentenceAudio"
},
"isKiku": {
"enabled": true,
"fieldGrouping": "manual"
},
"secondarySub": {
"autoLoadSecondarySub": true,
"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": {
"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,
"fontColor": "#cad3f5",
"fontWeight": "normal",
@@ -117,6 +137,15 @@
"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": {
"copySubtitle": "CommandOrControl+C",
"copySubtitleMultiple": "CommandOrControl+Shift+C",
@@ -126,4 +155,4 @@
"toggleSecondarySub": "CommandOrControl+Shift+V",
"multiCopyTimeoutMs": 3000
}
}
}

View File

@@ -1,6 +1,7 @@
[user]
name = sudacode
email = suda@sudacode.com
signingkey = /Users/sudacode/.ssh/yuh.pub
[init]
defaultBranch = main
[push]
@@ -19,4 +20,8 @@
[color]
ui = auto
[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
zle -N self-insert url-quote-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"'