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.dsp.exec_cmd("hyprshot -m window -o ~/Pictures/ -- tensaku-edit"),
{ description = "Take screenshot" })
hl.bind("SHIFT + Print",
hl.bind("SHIFT + PRINT",
hl.dsp.exec_cmd("hyprshot -m region -o ~/Pictures/ -- tensaku-edit"),
{ 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"),
{ 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"),
{ 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"),
{ description = "Stop screen recording" })
+5 -5
View File
@@ -5,8 +5,8 @@
"api": "openai-completions",
"models": [
{
"id": "glm-4.7-flash",
"name": "glm-4.7-flash",
"id": "Qwopus3.6-27B",
"name": "Qwopus3.6-27B",
"reasoning": true,
"input": [
"text"
@@ -27,7 +27,7 @@
}
},
"obelix": {
"baseUrl": "http://172.25.11.32/v1",
"baseUrl": "https://llm.nca.uwo.ca/v1",
"api": "openai-completions",
"models": [
{
@@ -57,8 +57,8 @@
"api": "openai-completions",
"models": [
{
"id": "gemma-4-12B-coder",
"name": "gemma-4-12B-coder",
"id": "Qwythos-9B-v2",
"name": "Qwythos-9B-v2",
"reasoning": true,
"input": [
"text"
+78 -62
View File
@@ -1,65 +1,81 @@
{
"lastChangelogVersion": "0.84.3",
"theme": "light/dark",
"defaultProvider": "openai-codex",
"defaultModel": "gpt-5.6-luna",
"defaultThinkingLevel": "high",
"hideThinkingBlock": true,
"compaction": {
"enabled": true
},
"thinkingLevelMap": {
"minimal": null,
"low": "low",
"medium": "medium",
"high": "high",
"xhigh": null,
"max": "max"
},
"enableInstallTelemetry": false,
"enabledModels": [
"opencode-go/qwen3.7-plus",
"opencode-go/deepseek-v4-pro",
"opencode-go/deepseek-v4-flash",
"opencode-go/kimi-k2.7-code",
"openai-codex/gpt-5.4",
"openai-codex/gpt-5.4-mini",
"openai-codex/gpt-5.3-codex-spark",
"obelix/ornith-1.0-35B",
"dupont/glm-4.7-flash",
"github-copilot/gpt-5-mini",
"github-copilot/mai-code-1-flash-picker"
],
"packages": [
"npm:pi-lens",
"npm:@gotgenes/pi-permission-system",
"npm:pi-native-search",
"npm:context-mode",
"npm:pi-subagents"
],
"subagents": {
"agentOverrides": {
"reviewer": {
"model": "opencode-go/hy3",
"fallbackModels": [ "openai-codex/gpt-5.6-luna" ],
"thinking": "low"
},
"planner": {
"model": "opencode-go/qwen3.7-plus"
},
"worker": {
"model": "opencode-go/kimi-k2.7-code"
},
"oracle": {
"model": "openai-codex/gpt-5.6-luna",
"fallbackModels": [ "opencode-go/qwen3.7-max" ],
"thinking": "high"
}
"lastChangelogVersion": "0.84.3",
"theme": "light/dark",
"defaultProvider": "openai-codex",
"defaultModel": "gpt-5.6-luna",
"defaultThinkingLevel": "high",
"hideThinkingBlock": true,
"compaction": {
"enabled": true
},
"thinkingLevelMap": {
"minimal": null,
"low": "low",
"medium": "medium",
"high": "high",
"xhigh": null,
"max": "max"
},
"enableInstallTelemetry": false,
"enabledModels": [
"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-flash",
"opencode-go/kimi-k2.7-code",
"opencode-go/hy3",
"opencode-go/minimax-m3",
"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",
"bianca/Qwythos-9B-v2",
"dupont/Qwopus3.6-27B"
],
"packages": [
"npm:pi-lens",
"npm:@gotgenes/pi-permission-system",
"npm:pi-native-search",
"npm:context-mode",
"npm:pi-subagents",
"npm:@ff-labs/pi-fff",
"npm:@narumitw/pi-plan-mode",
"npm:@dietrichgebert/ponytail"
],
"subagents": {
"agentOverrides": {
"reviewer": {
"model": "obelix/ornith-1.0-35B",
"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
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