From 031fd15dfdb98ad443ea977592590e3b5c52c902 Mon Sep 17 00:00:00 2001 From: sudacode Date: Mon, 31 Aug 2026 23:38:52 -0700 Subject: [PATCH] update --- .codex/config.toml##os.Linux | 4 ++++ .config/hypr/keybindings.conf | 9 ++++++++- .config/hypr/keybindings.lua | 9 ++++++++- .config/hypr/windowrules.lua | 15 ++++++++++----- .config/mimeapps.list | 2 +- 5 files changed, 31 insertions(+), 8 deletions(-) diff --git a/.codex/config.toml##os.Linux b/.codex/config.toml##os.Linux index e5905a8..c61e680 100644 --- a/.codex/config.toml##os.Linux +++ b/.codex/config.toml##os.Linux @@ -9,6 +9,7 @@ model_auto_compact_token_limit = 233000 suppress_unstable_features_warning = true sandbox_mode = "workspace-write" service_tier = "default" +approvals_reviewer = "auto_review" [tui] notifications = ["agent-turn-complete", "approval-requested"] @@ -250,6 +251,9 @@ trust_level = "trusted" [projects."/home/sudacode/Documents/anki/stats"] trust_level = "trusted" +[projects."/home/sudacode/projects/sudacode-blog"] +trust_level = "trusted" + [notice.model_migrations] "gpt-5.3-codex" = "gpt-5.4" diff --git a/.config/hypr/keybindings.conf b/.config/hypr/keybindings.conf index 5acf998..bc67892 100644 --- a/.config/hypr/keybindings.conf +++ b/.config/hypr/keybindings.conf @@ -104,7 +104,7 @@ bind = $mainMod SHIFT, d, exec, "$HOME/.config/rofi/scripts/rofi-docs.sh" bind = SUPER SHIFT, j, exec, "$HOME/.config/rofi/scripts/rofi-jellyfin-dir.sh" bind = SUPER, t, exec, "$HOME/.config/rofi/scripts/rofi-launch-texthooker-steam.sh" bind = $mainMod SHIFT, t, exec, "$HOME/projects/scripts/popup-ai-translator.py" -bind = SUPER SHIFT, g, exec, "$HOME/.config/rofi/scripts/rofi-vn-helper.sh" +# bind = SUPER SHIFT, g, exec, "$HOME/.config/rofi/scripts/rofi-vn-helper.sh" bind = $mainMod SHIFT, i, exec, "$HOME/.config/rofi/scripts/rofi-image-browser.sh" # ncmcppp @@ -167,6 +167,13 @@ bind = $mainMod, a, exec, ~/.config/rofi/scripts/rofi-anki-script.sh # bindl = , mouse:276, exec, xdotool key alt+grave # bottom mouse to overlay bind = ALT, g, exec, /opt/mpv-yomitan/mpv-yomitan.AppImage --toggle +# Hold Left Shift to show the GSM overlay while this submap is active. +bind = SUPER, g, submap, gsm +submap = gsm +bind = SHIFT SUPER, g, submap, reset +bind = SHIFT, Shift_L, pass, class:^(gsm_overlay)$ +submap = reset + # F5 # bind = ,code:71, exec, ~/projects/scripts/whisper_record_transcribe.py --mode toggle --output type bind = ,code:71, exec, uv run --directory ~/projects/scripts/faster-whisper-transcribe faster-whisper-transcribe --backend ctranslate2 --device cpu --mode toggle --output type diff --git a/.config/hypr/keybindings.lua b/.config/hypr/keybindings.lua index 6e612ea..bb8b756 100644 --- a/.config/hypr/keybindings.lua +++ b/.config/hypr/keybindings.lua @@ -116,7 +116,7 @@ hl.bind(mainMod .. " + SHIFT + d", hl.dsp.exec_cmd("~/.config/rofi/scripts/rofi- hl.bind("SUPER + SHIFT + j", hl.dsp.exec_cmd("~/.config/rofi/scripts/rofi-jellyfin-dir.sh")) hl.bind("SUPER + t", hl.dsp.exec_cmd("~/.config/rofi/scripts/rofi-launch-texthooker-steam.sh")) hl.bind(mainMod .. " + SHIFT + t", hl.dsp.exec_cmd("~/projects/scripts/popup-ai-translator.py")) -hl.bind("SUPER + SHIFT + g", hl.dsp.exec_cmd("~/.config/rofi/scripts/rofi-vn-helper.sh")) +-- hl.bind("SUPER + SHIFT + g", hl.dsp.exec_cmd("~/.config/rofi/scripts/rofi-vn-helper.sh")) hl.bind(mainMod .. " + SHIFT + i", hl.dsp.exec_cmd("~/.config/rofi/scripts/rofi-image-browser.sh")) -- ncmcppp @@ -209,6 +209,13 @@ hl.bind(mainMod .. " + a", hl.dsp.exec_cmd("~/.config/rofi/scripts/rofi-anki-scr -- hl.bind("mouse:276", hl.dsp.exec_cmd("xdotool key alt+grave"), { locked = true }) hl.bind("ALT + g", hl.dsp.exec_cmd("/opt/mpv-yomitan/mpv-yomitan.AppImage --toggle")) +-- Hold Left Shift to show the GSM overlay while this submap is active. +hl.bind("SUPER + g", hl.dsp.submap("gsm")) +hl.define_submap("gsm", function() + hl.bind("SUPER + SHIFT + g", hl.dsp.submap("reset")) + hl.bind("SHIFT + Shift_L", hl.dsp.pass({ window = "class:^(gsm_overlay)$" })) +end) + hl.bind("ALT + SHIFT + f", hl.dsp.exec_cmd("uwsm app -sb -- flameshot gui")) -- F5 diff --git a/.config/hypr/windowrules.lua b/.config/hypr/windowrules.lua index 27e04d6..db03ce8 100644 --- a/.config/hypr/windowrules.lua +++ b/.config/hypr/windowrules.lua @@ -299,13 +299,18 @@ hl.window_rule({ -- {{{ GSM Overlay and LunaTranslator tweaks hl.window_rule({ match = { - class = "gsm_overlay", + class = "gamesentenceminer", }, float = true, - -- TODO: manual review — unmapped window rule action: "border_size 0" - -- TODO: manual review — unmapped window rule action: "xray off" - -- TODO: manual review — unmapped window rule action: "no_shadow on" - -- TODO: manual review — unmapped window rule action: "no_blur on" + border_size = 0, + xray = false, + no_shadow = true, + no_blur = true, + no_dim = true, + opaque = true, + dim_around = false, + opacity = "1.0 override 1.0 override", + pin = false, }) hl.window_rule({ diff --git a/.config/mimeapps.list b/.config/mimeapps.list index d2e1f38..149ced2 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -71,7 +71,7 @@ x-scheme-handler/tonsite=org.telegram.desktop.desktop; x-scheme-handler/tradingview=tradingview.desktop;TradingView.desktop; application/x-wine-extension-ini=nvim.desktop; x-scheme-handler/subminer=subminer.desktop;SubMiner.desktop; -x-scheme-handler/t3code=t3code-url-handler.desktop; +x-scheme-handler/t3code=t3code-url-handler.desktop;t3code.desktop; [Default Applications] application/x-extension-htm=helium.desktop;zen.desktop