This commit is contained in:
2026-08-31 23:38:52 -07:00
parent 67afa82778
commit 031fd15dfd
5 changed files with 31 additions and 8 deletions
+4
View File
@@ -9,6 +9,7 @@ model_auto_compact_token_limit = 233000
suppress_unstable_features_warning = true suppress_unstable_features_warning = true
sandbox_mode = "workspace-write" sandbox_mode = "workspace-write"
service_tier = "default" service_tier = "default"
approvals_reviewer = "auto_review"
[tui] [tui]
notifications = ["agent-turn-complete", "approval-requested"] notifications = ["agent-turn-complete", "approval-requested"]
@@ -250,6 +251,9 @@ trust_level = "trusted"
[projects."/home/sudacode/Documents/anki/stats"] [projects."/home/sudacode/Documents/anki/stats"]
trust_level = "trusted" trust_level = "trusted"
[projects."/home/sudacode/projects/sudacode-blog"]
trust_level = "trusted"
[notice.model_migrations] [notice.model_migrations]
"gpt-5.3-codex" = "gpt-5.4" "gpt-5.3-codex" = "gpt-5.4"
+8 -1
View File
@@ -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 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 = 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 = $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" bind = $mainMod SHIFT, i, exec, "$HOME/.config/rofi/scripts/rofi-image-browser.sh"
# ncmcppp # 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 # bindl = , mouse:276, exec, xdotool key alt+grave # bottom mouse to overlay
bind = ALT, g, exec, /opt/mpv-yomitan/mpv-yomitan.AppImage --toggle 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 # F5
# bind = ,code:71, exec, ~/projects/scripts/whisper_record_transcribe.py --mode toggle --output type # 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 bind = ,code:71, exec, uv run --directory ~/projects/scripts/faster-whisper-transcribe faster-whisper-transcribe --backend ctranslate2 --device cpu --mode toggle --output type
+8 -1
View File
@@ -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 + 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("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(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")) hl.bind(mainMod .. " + SHIFT + i", hl.dsp.exec_cmd("~/.config/rofi/scripts/rofi-image-browser.sh"))
-- ncmcppp -- 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("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")) 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")) hl.bind("ALT + SHIFT + f", hl.dsp.exec_cmd("uwsm app -sb -- flameshot gui"))
-- F5 -- F5
+10 -5
View File
@@ -299,13 +299,18 @@ hl.window_rule({
-- {{{ GSM Overlay and LunaTranslator tweaks -- {{{ GSM Overlay and LunaTranslator tweaks
hl.window_rule({ hl.window_rule({
match = { match = {
class = "gsm_overlay", class = "gamesentenceminer",
}, },
float = true, float = true,
-- TODO: manual review — unmapped window rule action: "border_size 0" border_size = 0,
-- TODO: manual review — unmapped window rule action: "xray off" xray = false,
-- TODO: manual review — unmapped window rule action: "no_shadow on" no_shadow = true,
-- TODO: manual review — unmapped window rule action: "no_blur on" no_blur = true,
no_dim = true,
opaque = true,
dim_around = false,
opacity = "1.0 override 1.0 override",
pin = false,
}) })
hl.window_rule({ hl.window_rule({
+1 -1
View File
@@ -71,7 +71,7 @@ x-scheme-handler/tonsite=org.telegram.desktop.desktop;
x-scheme-handler/tradingview=tradingview.desktop;TradingView.desktop; x-scheme-handler/tradingview=tradingview.desktop;TradingView.desktop;
application/x-wine-extension-ini=nvim.desktop; application/x-wine-extension-ini=nvim.desktop;
x-scheme-handler/subminer=subminer.desktop;SubMiner.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] [Default Applications]
application/x-extension-htm=helium.desktop;zen.desktop application/x-extension-htm=helium.desktop;zen.desktop