From f2d81ae262a30ace37cddf2b9f10d1be62e35df6 Mon Sep 17 00:00:00 2001 From: Meisterlala <6453306+Meisterlala@users.noreply.github.com> Date: Sat, 1 Aug 2026 12:46:38 +0200 Subject: [PATCH] feat(opencode): enhance notification settings and update model configurations --- dot_config/hypr/hyprland.lua | 1 + dot_config/opencode/opencode.json | 28 ++++++++++++++++++++++++++-- dot_config/opencode/tui.json | 3 ++- 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/dot_config/hypr/hyprland.lua b/dot_config/hypr/hyprland.lua index 0ba0e02..a1fe685 100644 --- a/dot_config/hypr/hyprland.lua +++ b/dot_config/hypr/hyprland.lua @@ -324,6 +324,7 @@ hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true hl.bind("Print", hl.dsp.exec_cmd("bash ~/.config/hypr/screenshot.sh")) hl.bind(main_mod .. " + x", hl.dsp.exec_cmd("swaync-client -t -sw")) hl.bind("F14", hl.dsp.pass({ window = "class:^(discord|vesktop)$" })) +hl.bind("F14", hl.dsp.pass({ window = "class:^(discord|vesktop)$" }), { release = true }) hl.bind("F18", hl.dsp.exec_cmd("/usr/bin/python3 ~/source/MySuperWhisper/remote_control.py --start")) hl.bind("F18", hl.dsp.exec_cmd("/usr/bin/python3 ~/source/MySuperWhisper/remote_control.py --stop"), { release = true }) diff --git a/dot_config/opencode/opencode.json b/dot_config/opencode/opencode.json index 6bc8243..eb9427b 100644 --- a/dot_config/opencode/opencode.json +++ b/dot_config/opencode/opencode.json @@ -110,10 +110,34 @@ "enabled": true, "stage1": { "model": "ollama/safety-watch", + "think": "none" + }, + "stage2": { + "model": "openai/gpt-5.6-luna", "think": "low" }, - "dcg": false, - "ai-review": true + "dcg": true, + "ai-review": true, + "approve-on-fail": true, + "notifications": { + "enabled": false, + "sound": false, + "volume": 1, + // "sound-file": "~/sound/default.mp3", + "on-error": { + "enabled": true + }, + // "on-block": { + // "enabled": false + // }, + "on-ask": { + "enabled": true, + "sound": true + } + // "on-cache-miss": { + // "enabled": false + // } + } } ], "./plugins/openviking.mjs", diff --git a/dot_config/opencode/tui.json b/dot_config/opencode/tui.json index 53a1b8b..9b7681a 100644 --- a/dot_config/opencode/tui.json +++ b/dot_config/opencode/tui.json @@ -6,8 +6,9 @@ ], "attention": { "enabled": true, + "notifications": false, "sound": true, - "volume": 0.2, + "volume": 0, "sound_pack": "opencode.default" } } -- 2.51.2