mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-09-10 17:16:18 -07:00
update
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user