This commit is contained in:
2026-03-21 15:13:22 -07:00
parent 939763ccda
commit 145263904a
16 changed files with 106 additions and 30 deletions

View File

@@ -17,7 +17,17 @@
"mcp__plugin_playwright_playwright__browser_click", "mcp__plugin_playwright_playwright__browser_click",
"mcp__plugin_playwright_playwright__browser_take_screenshot", "mcp__plugin_playwright_playwright__browser_take_screenshot",
"mcp__plugin_playwright_playwright__browser_close", "mcp__plugin_playwright_playwright__browser_close",
"Bash(bun run:*)" "Bash(bun run:*)",
"mcp__plugin_playwright_playwright__browser_evaluate",
"Read(//home/sudacode/.config/**)",
"Bash(find ~/.config -path */SubMiner/* -type f)",
"Bash(sqlite3 /home/sudacode/.config/SubMiner/immersion.sqlite \"SELECT name FROM sqlite_master WHERE type=''table'' LIMIT 5;\")",
"Bash(sqlite3 /home/sudacode/.config/SubMiner/immersion.sqlite \".tables\")",
"Bash(sqlite3 /home/sudacode/.config/SubMiner/immersion.sqlite \"SELECT text FROM imm_subtitle_lines ORDER BY RANDOM\\(\\) LIMIT 25\")",
"Bash(pkill -f \"python3 -m http.server 9876\")",
"Read(//home/sudacode/.claude/plugins/cache/claude-plugins-official/superpowers/5.0.5/skills/brainstorming/**)",
"Bash(/home/sudacode/.claude/plugins/cache/claude-plugins-official/superpowers/5.0.5/skills/brainstorming/scripts/start-server.sh --project-dir /home/sudacode/projects/japanese/SubMiner)",
"Read(//home/sudacode/**)"
], ],
"deny": [ "deny": [
"Bash(curl *)", "Bash(curl *)",
@@ -51,7 +61,8 @@
"code-simplifier@claude-plugins-official": true, "code-simplifier@claude-plugins-official": true,
"playwright@claude-plugins-official": true, "playwright@claude-plugins-official": true,
"superpowers@claude-plugins-official": true, "superpowers@claude-plugins-official": true,
"coderabbit@claude-plugins-official": true "coderabbit@claude-plugins-official": true,
"discord@claude-plugins-official": true
}, },
"sandbox": { "sandbox": {
"enabled": false, "enabled": false,

View File

@@ -1,4 +1,4 @@
model = "gpt-5.4" model = "gpt-5.4-mini"
model_reasoning_effort = "high" model_reasoning_effort = "high"
personality = "pragmatic" personality = "pragmatic"
tool_output_token_limit = 25000 tool_output_token_limit = 25000
@@ -132,6 +132,24 @@ trust_level = "trusted"
[projects."/home/sudacode/.config/ranger"] [projects."/home/sudacode/.config/ranger"]
trust_level = "trusted" trust_level = "trusted"
[projects."/home/sudacode/projects/japanese/texthooker-ui"]
trust_level = "trusted"
[projects."/home/sudacode/.config/uwsm"]
trust_level = "trusted"
[projects."/home/sudacode/.cache/paru/clone/t3code-bin"]
trust_level = "trusted"
[projects."/home/sudacode/.config/yt-dlp/plugins/yt-dlp-hianime/yt_dlp_plugins/extractor"]
trust_level = "trusted"
[projects."/home/sudacode/.config"]
trust_level = "trusted"
[projects."/home/sudacode/.config/mpv-modules/ModernZ"]
trust_level = "trusted"
[notice.model_migrations] [notice.model_migrations]
"gpt-5.3-codex" = "gpt-5.4" "gpt-5.3-codex" = "gpt-5.4"

View File

@@ -87,6 +87,7 @@
"animatedCrf": 35, "animatedCrf": 35,
"audioPadding": 0.5, "audioPadding": 0.5,
"fallbackDuration": 3, "fallbackDuration": 3,
"syncAnimatedImageToWordAudio": true,
}, },
"behavior": { "behavior": {
"overwriteAudio": false, "overwriteAudio": false,
@@ -99,12 +100,13 @@
}, },
"knownWords": { "knownWords": {
"decks": { "decks": {
"Minecraft": ["Expression", "Reading"], "Minecraft": ["Expression", "Reading"],
"Kaishi 1.5k": ["Word", "Word Reading"] "Kaishi 1.5k": ["Word", "Word Reading"],
}, },
"highlightEnabled": true, "highlightEnabled": true,
"refreshMinutes": 60, "refreshMinutes": 60,
"matchMode": "headword", "matchMode": "headword",
"addMinedWordsImmediately": true,
}, },
"nPlusOne": { "nPlusOne": {
"minSentenceWords": 3, "minSentenceWords": 3,
@@ -154,6 +156,7 @@
"textShadow": "0 3px 10px rgba(0,0,0,0.69)", "textShadow": "0 3px 10px rgba(0,0,0,0.69)",
"fontStyle": "normal", "fontStyle": "normal",
// "backgroundColor": "transparent", // "backgroundColor": "transparent",
"backgroundColor": "#232634",
"hoverTokenColor": "#f4dbd6", "hoverTokenColor": "#f4dbd6",
"hoverBackground": "rgba(54, 58, 79, 0.84)", "hoverBackground": "rgba(54, 58, 79, 0.84)",
"preserveLineBreaks": false, "preserveLineBreaks": false,
@@ -258,10 +261,6 @@
"subtitleDictionaries": true, "subtitleDictionaries": true,
"jellyfinRemoteSession": false, "jellyfinRemoteSession": false,
}, },
"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)",
},
"yomitan": { "yomitan": {
"externalProfilePath": "", "externalProfilePath": "",
}, },
@@ -271,4 +270,21 @@
"autoStartServer": true, // Automatically start the stats server on launch. Values: true | false "autoStartServer": true, // Automatically start the stats server on launch. Values: true | false
"autoOpenBrowser": false, "autoOpenBrowser": false,
}, // Local immersion stats dashboard served on localhost and available as an in-app overlay. }, // Local immersion stats dashboard served on localhost and available as an in-app overlay.
"subtitleSidebar": {
"enabled": true,
"layout": "embedded",
"toggleKey": "Backslash",
"pauseVideoOnHover": true,
"autoScroll": true,
"maxWidth": 420,
"opacity": 0.69,
"backgroundColor": "rgba(36, 39, 58, 0.78)",
"textColor": "#cad3f5",
"fontFamily": "\"M PLUS 1\", \"Noto Sans CJK JP\", sans-serif",
"fontSize": 16,
"timestampColor": "#a5adcb",
"activeLineColor": "#f5bde6",
"activeLineBackgroundColor": "rgba(138, 173, 244, 0.22)",
"hoverLineBackgroundColor": "rgba(54, 58, 79, 0.84)",
},
} }

View File

@@ -27,6 +27,10 @@ term=xterm-ghostty
link-url = true link-url = true
link-previews = true link-previews = true
bell-features=system,attention,no-audio bell-features=system,attention,no-audio
quit-after-last-window-closed = true
quit-after-last-window-closed-delay = 5m
keybind = all:ctrl+enter=unbind keybind = all:ctrl+enter=unbind
keybind = all:ctrl+shift+j=next_tab keybind = all:ctrl+shift+j=next_tab
keybind = all:ctrl+shift+k=last_tab keybind = all:ctrl+shift+k=last_tab

View File

@@ -34,7 +34,7 @@ monitorv2 {
min_luminance = 0 min_luminance = 0
max_luminance = 1000 max_luminance = 1000
max_avg_luminance = 200 max_avg_luminance = 200
sdrbrightness = 1.2 sdrbrightness = 1.0
sdrsaturation = 0.98 sdrsaturation = 0.98
} }
@@ -72,14 +72,14 @@ exec-once = uwsm app -sb -- hyprpm update -n
exec-once = uwsm app -sb -- hyprpm reload -n exec-once = uwsm app -sb -- hyprpm reload -n
exec-once = $notification_daemon exec-once = $notification_daemon
exec-once = $terminal exec-once = $terminal
exec-once = uwsm app -sb -S both -t scope -- hyprpm update -nn exec-once = uwsm app -sb -S both -t scope -- hyprpm update -n
exec-once = uwsm app -sb -S both -t scope -- hyprpm reload -nn exec-once = uwsm app -sb -S both -t scope -- hyprpm reload -n
exec-once = uwsm app -sb -t service -- nm-applet exec-once = uwsm app -sb -t service -- nm-applet
exec-once = uwsm app -sb -t service -- waybar -c ~/.config/waybar/catppuccin-macchiato/config.jsonc -s ~/.config/waybar/catppuccin-macchiato/style.css exec-once = uwsm app -sb -t service -- waybar -c ~/.config/waybar/catppuccin-macchiato/config.jsonc -s ~/.config/waybar/catppuccin-macchiato/style.css
exec-once = uwsm app -sb -t service -- hyprsunset exec-once = uwsm app -sb -t service -- hyprsunset
exec-once = uwsm app -sb -t service -- /usr/lib/polkit-kde-authentication-agent-1 exec-once = uwsm app -sb -t service -- /usr/lib/polkit-kde-authentication-agent-1
exec-once = uwsm app -sb -t service -- gnome-keyring-daemon --start --components=secrets,ssh,pkcs11 exec-once = uwsm app -sb -t service -- gnome-keyring-daemon --start --components=secrets,ssh,pkcs11
# exec-once = uwsm app -sb -t service -- variety exec-once = uwsm app -sb -t service -- tailscale systray
exec-once = ~/.local/bin/aria exec-once = ~/.local/bin/aria
# exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

View File

@@ -1,5 +1,5 @@
theme = { theme {
color_schema = "/usr/share/themes/Colloid-Purple-Dark-Catppuccin" color_scheme = "/home/sudacode/.local/share/color-schemes/CatppuccinMacchiatoMauve.colors"
icon_theme = "Colloid-Purple-Catppuccin-Dark" icon_theme = "Colloid-Purple-Catppuccin-Dark"
style = "kvantum-dark" style = "kvantum-dark"
font_fixed = "JetBrainsMono Nerd Font" font_fixed = "JetBrainsMono Nerd Font"

View File

@@ -113,7 +113,7 @@ bind = SUPER, m, exec, ~/.local/bin/mpv-add.sh
bind = SUPER SHIFT, s, exec, slurp | grim -g - - | wl-copy bind = SUPER SHIFT, s, exec, slurp | grim -g - - | wl-copy
bind = ,code:107, exec, ~/.local/bin/screenshot bind = ,code:107, exec, ~/.local/bin/screenshot
bind = SHIFT ,code:107, exec, ~/.local/bin/screenshot-active-window.sh bind = SHIFT ,code:107, exec, ~/.local/bin/screenshot-active-window.sh
bind = SUPER,code:107, exec, flameshot screen bind = SUPER,code:107, exec, ~/.local/bin/screenshot-active-window.sh -s
bind = SUPER, o, exec, ~/.local/bin/ocr.sh bind = SUPER, o, exec, ~/.local/bin/ocr.sh
bind = $mainMod, o, exec, ~/.local/bin/rofi-open tab bind = $mainMod, o, exec, ~/.local/bin/rofi-open tab
# bind = $mainMod SHIFT, o, exec, ~/.local/bin/rofi-open window # bind = $mainMod SHIFT, o, exec, ~/.local/bin/rofi-open window

View File

@@ -45,6 +45,7 @@ windowrule = opacity 1.0 override, match:class dolphin-emu
windowrule = opacity 1.0 override, match:class steam_app_default windowrule = opacity 1.0 override, match:class steam_app_default
windowrule = opacity 1.0 override, match:class steam_app.* windowrule = opacity 1.0 override, match:class steam_app.*
windowrule = opacity 1.0 override, match:class Rustdesk windowrule = opacity 1.0 override, match:class Rustdesk
windowrule = opacity 1.0 override, match:class google-chrome
# }}} # }}}
# {{{ Misc # {{{ Misc
@@ -81,7 +82,11 @@ windowrule = border_size 0, match:class SubMiner
windowrule = xray off override, match:class SubMiner windowrule = xray off override, match:class SubMiner
windowrule = no_shadow on, match:class SubMiner windowrule = no_shadow on, match:class SubMiner
windowrule = no_blur on, match:class SubMiner windowrule = no_blur on, match:class SubMiner
windowrule = no_dim on, match:class SubMiner
windowrule = opaque on, match:class SubMiner
windowrule = dim_around off, match:class SubMiner
windowrule = allows_input offf, match:class SubMiner windowrule = allows_input offf, match:class SubMiner
windowrule = border_size 0, match:class steam_app_1277940 windowrule = border_size 0, match:class steam_app_1277940
windowrule = opacity 1.0 override, match:class SubMiner
# {{{ GSM Overlay and LunaTranslator tweaks # {{{ GSM Overlay and LunaTranslator tweaks

View File

@@ -202,6 +202,8 @@ ctrl+K cycle-values keep-open "yes" "no"
ctrl+r script-binding reload-scripts ctrl+r script-binding reload-scripts
ctrl+s script_binding autosubsync-menu ctrl+s script_binding autosubsync-menu
# MBTN_RIGHT script-binding select/context-menu
# {{{ sponsorblock # {{{ sponsorblock
ctrl+g script-binding sponsorblock/set_segment ctrl+g script-binding sponsorblock/set_segment
ctrl+G script-binding sponsorblock/submit_segment ctrl+G script-binding sponsorblock/submit_segment

View File

@@ -312,13 +312,13 @@
"format": "{icon}", "format": "{icon}",
"format-icons": { "format-icons": {
"notification": "<span foreground='red'><sup></sup></span>", "notification": "<span foreground='red'><sup></sup></span>",
"none": "<span foreground='red'><sup> </sup></span>", "none": "",
"dnd-notification": "<span foreground='red'><sup></sup></span>", "dnd-notification": "<span foreground='red'><sup></sup></span>",
"dnd-none": "<span foreground='red'><sup> </sup></span>", "dnd-none": "",
"inhibited-notification": "<span foreground='red'><sup></sup></span>", "inhibited-notification": "<span foreground='red'><sup></sup></span>",
"inhibited-none": "<span foreground='red'><sup> </sup></span>", "inhibited-none": "",
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>", "dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
"dnd-inhibited-none": "<span foreground='red'><sup> </sup></span>", "dnd-inhibited-none": "",
}, },
"return-type": "json", "return-type": "json",
"exec-if": "which swaync-client", "exec-if": "which swaync-client",

View File

@@ -185,6 +185,7 @@ label:focus {
#network { #network {
background-color: @peach; background-color: @peach;
color: @mantle; color: @mantle;
padding: 0 18px 0 10px;
} }
#network.disconnected { #network.disconnected {
@@ -273,7 +274,7 @@ label:focus {
background-color: @yellow; background-color: @yellow;
color: @mantle; color: @mantle;
padding: 0 10px; padding: 0 10px;
margin: 5px 1px 5px 5px; margin: 5px 1px 5px 1px;
} }
#custom-launcher { #custom-launcher {
@@ -330,7 +331,6 @@ label:focus {
font-family: inherit; font-family: inherit;
padding: 0 10px; padding: 0 10px;
margin: 5px 1px; margin: 5px 1px;
min-width: 1em;
background-color: @maroon; background-color: @maroon;
color: @mantle; color: @mantle;
} }

View File

@@ -116,7 +116,7 @@ fetch_weather() {
--show-error \ --show-error \
--fail \ --fail \
--max-time 10 \ --max-time 10 \
"https://api.open-meteo.com/v1/forecast?latitude=${latitude}&longitude=${longitude}&current=temperature_2m,relative_humidity_2m,apparent_temperature,weather_code,wind_speed_10m,is_day&timezone=$(url_encode "$timezone")" 2>/dev/null || true "https://api.open-meteo.com/v1/forecast?latitude=${latitude}&longitude=${longitude}&current=temperature_2m,relative_humidity_2m,apparent_temperature,weather_code,wind_speed_10m,is_day&temperature_unit=fahrenheit&wind_speed_unit=mph&timezone=$(url_encode "$timezone")" 2>/dev/null || true
} }
format_weather() { format_weather() {
@@ -140,8 +140,8 @@ format_weather() {
humidity="$(jq -r '.current.relative_humidity_2m | round | "\(.)"' <<<"$weather_json")" humidity="$(jq -r '.current.relative_humidity_2m | round | "\(.)"' <<<"$weather_json")"
wind="$(jq -r '.current.wind_speed_10m | round | "\(.)"' <<<"$weather_json")" wind="$(jq -r '.current.wind_speed_10m | round | "\(.)"' <<<"$weather_json")"
text="${icon} ${temperature}°C" text="${icon} ${temperature}°F"
tooltip="${place}: ${description}. Feels like ${feels_like}°C, humidity ${humidity}%, wind ${wind} km/h" tooltip="${place}: ${description}. Feels like ${feels_like}°F, humidity ${humidity}%, wind ${wind} mph"
emit_json "$text" "$tooltip" emit_json "$text" "$tooltip"
} }

View File

@@ -1,7 +1,27 @@
#!/usr/bin/env bash #!/usr/bin/env bash
save_to_disk=false
while getopts "s" opt; do
case $opt in
s) save_to_disk=true ;;
*) echo "Usage: $0 [-s]" && exit 1 ;;
esac
done
tmpfile=$(mktemp /tmp/screenshot-XXXXXX.png) tmpfile=$(mktemp /tmp/screenshot-XXXXXX.png)
grim -g "$(hyprctl activewindow -j | jq -r '.at[0],.at[1],.size[0],.size[1]' | tr '\n' ' ' | awk '{print $1","$2" "$3"x"$4}')" "$tmpfile" grim -g "$(hyprctl activewindow -j | jq -r '.at[0],.at[1],.size[0],.size[1]' | tr '\n' ' ' | awk '{print $1","$2" "$3"x"$4}')" "$tmpfile"
wl-copy < "$tmpfile"
notify-send -i "$tmpfile" "Screenshot of active window copied to clipboard" if $save_to_disk; then
savepath=$(zenity --file-selection --save --confirm-overwrite --title="Save Screenshot" --filename="screenshot.png" --file-filter="PNG files|*.png")
if [[ -n "$savepath" ]]; then
cp "$tmpfile" "$savepath"
notify-send -i "$savepath" "Screenshot saved to $savepath"
else
notify-send "Screenshot save cancelled"
fi
else
wl-copy < "$tmpfile"
notify-send -i "$tmpfile" "Screenshot of active window copied to clipboard"
fi
rm -f "$tmpfile" rm -f "$tmpfile"