Compare commits

..
5 Commits
5 changed files with 106 additions and 73 deletions
+7 -5
View File
@@ -204,19 +204,21 @@ hl.bind("SUPER + slash",
hl.bind("Print", hl.bind("Print",
hl.dsp.exec_cmd("hyprshot -m window -o ~/Pictures/ -- tensaku-edit"), hl.dsp.exec_cmd("hyprshot -m window -o ~/Pictures/ -- tensaku-edit"),
{ description = "Take screenshot" }) { description = "Take screenshot" })
hl.bind("SHIFT + Print",
hl.bind("SHIFT + PRINT",
hl.dsp.exec_cmd("hyprshot -m region -o ~/Pictures/ -- tensaku-edit"), hl.dsp.exec_cmd("hyprshot -m region -o ~/Pictures/ -- tensaku-edit"),
{ description = "Take screenshot" }) { description = "Take screenshot" })
hl.bind("ALT + Print", hl.bind("SUPER + PRINT", hl.dsp.exec_cmd("pkill hyprpicker || hyprpicker -a"), { description = "Pick color" })
hl.bind("SUPER + CONTROL + PRINT",
hl.dsp.exec_cmd("hyprshot -m region --raw -z | /usr/bin/tesseract stdin stdout --oem 1 --psm 6 -l eng | wl-copy"), hl.dsp.exec_cmd("hyprshot -m region --raw -z | /usr/bin/tesseract stdin stdout --oem 1 --psm 6 -l eng | wl-copy"),
{ description = "Capture text" }) { description = "Extract text (OCR) from screenshot" })
hl.bind("SUPER + Print", hl.bind("SUPER + ALT + Print",
hl.dsp.exec_cmd("~/.local/bin/screen-recorder -o ~/Videos/$(date +'%Y-%m-%d_%H%M%S')_recording.mp4"), hl.dsp.exec_cmd("~/.local/bin/screen-recorder -o ~/Videos/$(date +'%Y-%m-%d_%H%M%S')_recording.mp4"),
{ description = "Start/Stop screen recording" }) { description = "Start/Stop screen recording" })
hl.bind("SUPER + SHIFT + Print", hl.bind("SUPER + ALT + SHIFT + Print",
hl.dsp.exec_cmd("~/.local/bin/screen-recorder stop"), hl.dsp.exec_cmd("~/.local/bin/screen-recorder stop"),
{ description = "Stop screen recording" }) { description = "Stop screen recording" })
+5 -5
View File
@@ -5,8 +5,8 @@
"api": "openai-completions", "api": "openai-completions",
"models": [ "models": [
{ {
"id": "glm-4.7-flash", "id": "Qwopus3.6-27B",
"name": "glm-4.7-flash", "name": "Qwopus3.6-27B",
"reasoning": true, "reasoning": true,
"input": [ "input": [
"text" "text"
@@ -27,7 +27,7 @@
} }
}, },
"obelix": { "obelix": {
"baseUrl": "http://172.25.11.32/v1", "baseUrl": "https://llm.nca.uwo.ca/v1",
"api": "openai-completions", "api": "openai-completions",
"models": [ "models": [
{ {
@@ -57,8 +57,8 @@
"api": "openai-completions", "api": "openai-completions",
"models": [ "models": [
{ {
"id": "gemma-4-12B-coder", "id": "Qwythos-9B-v2",
"name": "gemma-4-12B-coder", "name": "Qwythos-9B-v2",
"reasoning": true, "reasoning": true,
"input": [ "input": [
"text" "text"
+78 -62
View File
@@ -1,65 +1,81 @@
{ {
"lastChangelogVersion": "0.84.3", "lastChangelogVersion": "0.84.3",
"theme": "light/dark", "theme": "light/dark",
"defaultProvider": "openai-codex", "defaultProvider": "openai-codex",
"defaultModel": "gpt-5.6-luna", "defaultModel": "gpt-5.6-luna",
"defaultThinkingLevel": "high", "defaultThinkingLevel": "high",
"hideThinkingBlock": true, "hideThinkingBlock": true,
"compaction": { "compaction": {
"enabled": true "enabled": true
}, },
"thinkingLevelMap": { "thinkingLevelMap": {
"minimal": null, "minimal": null,
"low": "low", "low": "low",
"medium": "medium", "medium": "medium",
"high": "high", "high": "high",
"xhigh": null, "xhigh": null,
"max": "max" "max": "max"
}, },
"enableInstallTelemetry": false, "enableInstallTelemetry": false,
"enabledModels": [ "enabledModels": [
"opencode-go/qwen3.7-plus", "openai-codex/gpt-5.6-luna",
"opencode-go/deepseek-v4-pro", "openai-codex/gpt-5.6-terra",
"opencode-go/deepseek-v4-flash", "github-copilot/gpt-5-mini",
"opencode-go/kimi-k2.7-code", "github-copilot/mai-code-1-flash-picker",
"openai-codex/gpt-5.4", "opencode-go/deepseek-v4-pro",
"openai-codex/gpt-5.4-mini", "opencode-go/deepseek-v4-flash",
"openai-codex/gpt-5.3-codex-spark", "opencode-go/kimi-k2.7-code",
"obelix/ornith-1.0-35B", "opencode-go/hy3",
"dupont/glm-4.7-flash", "opencode-go/minimax-m3",
"github-copilot/gpt-5-mini", "opencode-go/minimax-m2.7",
"github-copilot/mai-code-1-flash-picker" "opencode-go/mimo-v2.5-pro",
], "opencode-go/mimo-v2.5",
"packages": [ "opencode-go/kimi-k3",
"npm:pi-lens", "opencode-go/kimi-k2.6",
"npm:@gotgenes/pi-permission-system", "opencode-go/glm-5.3-flash",
"npm:pi-native-search", "opencode-go/qwen3.8-max",
"npm:context-mode", "opencode-go/qwen3.8-flash",
"npm:pi-subagents" "obelix/ornith-1.0-35B",
], "bianca/Qwythos-9B-v2",
"subagents": { "dupont/Qwopus3.6-27B"
"agentOverrides": { ],
"reviewer": { "packages": [
"model": "opencode-go/hy3", "npm:pi-lens",
"fallbackModels": [ "openai-codex/gpt-5.6-luna" ], "npm:@gotgenes/pi-permission-system",
"thinking": "low" "npm:pi-native-search",
}, "npm:context-mode",
"planner": { "npm:pi-subagents",
"model": "opencode-go/qwen3.7-plus" "npm:@ff-labs/pi-fff",
}, "npm:@narumitw/pi-plan-mode",
"worker": { "npm:@dietrichgebert/ponytail"
"model": "opencode-go/kimi-k2.7-code" ],
}, "subagents": {
"oracle": { "agentOverrides": {
"model": "openai-codex/gpt-5.6-luna", "reviewer": {
"fallbackModels": [ "opencode-go/qwen3.7-max" ], "model": "obelix/ornith-1.0-35B",
"thinking": "high" "fallbackModels": [
} "openai-codex/gpt-5.6-luna"
],
"thinking": "low"
},
"planner": {
"model": "opencode-go/gpt-5.6-luna"
},
"worker": {
"model": "obelix/ornith-1.0-35B"
},
"oracle": {
"model": "openai-codex/gpt-5.6-luna",
"fallbackModels": [
"opencode-go/qwen3.7-max"
],
"thinking": "high"
}
}
},
"quietStartup": true,
"steeringMode": "all",
"terminal": {
"showTerminalProgress": true
} }
},
"quietStartup": true,
"steeringMode": "all",
"terminal": {
"showTerminalProgress": true
}
} }
+1 -1
View File
@@ -1,2 +1,2 @@
#!/usr/bin/env -S /bin/sh #!/usr/bin/env -S /bin/sh
exec pi --model opencode-go/qwen3.8-flash -p /skill:commit-staged exec pi --model obelix/ornith-1.0-35B -p /skill:commit-staged
@@ -0,0 +1,15 @@
#!/bin/sh
ENDPOINT=129.100.33.20
case "$2" in
up|dhcp4-change)
route=$(ip -4 route show default | awk 'NR==1')
gateway=$(echo "$route" | awk '{for (i=1;i<=NF;i++) if ($i=="via") print $(i+1)}')
device=$(echo "$route" | awk '{for (i=1;i<=NF;i++) if ($i=="dev") print $(i+1)}')
if [ -n "$gateway" ] && [ -n "$device" ]; then
ip -4 route replace "$ENDPOINT/32" via "$gateway" dev "$device"
fi
;;
esac