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"
+29 -13
View File
@@ -18,41 +18,57 @@
}, },
"enableInstallTelemetry": false, "enableInstallTelemetry": false,
"enabledModels": [ "enabledModels": [
"opencode-go/qwen3.7-plus", "openai-codex/gpt-5.6-luna",
"openai-codex/gpt-5.6-terra",
"github-copilot/gpt-5-mini",
"github-copilot/mai-code-1-flash-picker",
"opencode-go/deepseek-v4-pro", "opencode-go/deepseek-v4-pro",
"opencode-go/deepseek-v4-flash", "opencode-go/deepseek-v4-flash",
"opencode-go/kimi-k2.7-code", "opencode-go/kimi-k2.7-code",
"openai-codex/gpt-5.4", "opencode-go/hy3",
"openai-codex/gpt-5.4-mini", "opencode-go/minimax-m3",
"openai-codex/gpt-5.3-codex-spark", "opencode-go/minimax-m2.7",
"opencode-go/mimo-v2.5-pro",
"opencode-go/mimo-v2.5",
"opencode-go/kimi-k3",
"opencode-go/kimi-k2.6",
"opencode-go/glm-5.3-flash",
"opencode-go/qwen3.8-max",
"opencode-go/qwen3.8-flash",
"obelix/ornith-1.0-35B", "obelix/ornith-1.0-35B",
"dupont/glm-4.7-flash", "bianca/Qwythos-9B-v2",
"github-copilot/gpt-5-mini", "dupont/Qwopus3.6-27B"
"github-copilot/mai-code-1-flash-picker"
], ],
"packages": [ "packages": [
"npm:pi-lens", "npm:pi-lens",
"npm:@gotgenes/pi-permission-system", "npm:@gotgenes/pi-permission-system",
"npm:pi-native-search", "npm:pi-native-search",
"npm:context-mode", "npm:context-mode",
"npm:pi-subagents" "npm:pi-subagents",
"npm:@ff-labs/pi-fff",
"npm:@narumitw/pi-plan-mode",
"npm:@dietrichgebert/ponytail"
], ],
"subagents": { "subagents": {
"agentOverrides": { "agentOverrides": {
"reviewer": { "reviewer": {
"model": "opencode-go/hy3", "model": "obelix/ornith-1.0-35B",
"fallbackModels": [ "openai-codex/gpt-5.6-luna" ], "fallbackModels": [
"openai-codex/gpt-5.6-luna"
],
"thinking": "low" "thinking": "low"
}, },
"planner": { "planner": {
"model": "opencode-go/qwen3.7-plus" "model": "opencode-go/gpt-5.6-luna"
}, },
"worker": { "worker": {
"model": "opencode-go/kimi-k2.7-code" "model": "obelix/ornith-1.0-35B"
}, },
"oracle": { "oracle": {
"model": "openai-codex/gpt-5.6-luna", "model": "openai-codex/gpt-5.6-luna",
"fallbackModels": [ "opencode-go/qwen3.7-max" ], "fallbackModels": [
"opencode-go/qwen3.7-max"
],
"thinking": "high" "thinking": "high"
} }
} }
+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