Compare commits

..
12 Commits
10 changed files with 206 additions and 75 deletions
+6 -3
View File
@@ -36,6 +36,8 @@ worktrunk = "latest"
uv = "latest" uv = "latest"
tmux = "latest" tmux = "latest"
node = "latest" node = "latest"
go = "latest"
croc = "latest"
# url = 'https://releases.hashicorp.com/sentinel/{{version}}/sentinel_{{version}}_{{os(macos="darwin")}}_{{arch(x64="amd64")}}.zip' # url = 'https://releases.hashicorp.com/sentinel/{{version}}/sentinel_{{version}}_{{os(macos="darwin")}}_{{arch(x64="amd64")}}.zip'
[tasks.setup_pi] [tasks.setup_pi]
@@ -50,15 +52,16 @@ run = [
'pi install npm:@plannotator/pi-extension', 'pi install npm:@plannotator/pi-extension',
'pi install npm:pi-hermes-memory', 'pi install npm:pi-hermes-memory',
'pi install npm:pi-msg-queue', 'pi install npm:pi-msg-queue',
'test -x /usr/bin/pass && /usr/bin/pass show config/pi/auth.json > ~/.pi/agent/auth.json'
] ]
[tasks.setup_fish] [tasks.setup_fish]
run = ''' run = '''
if [ -x /usr/bin/fish ]; then if [[ -x /usr/bin/fish ]]; then
if [[ "$(getent passwd "$USER" | cut -d: -f7)" != /usr/bin/fish ]]; then
chsh -s /usr/bin/fish chsh -s /usr/bin/fish
fish -c "fisher install franciscolourenco/done"
fi fi
fish -c "fisher install franciscolourenco/done"
fi
''' '''
[tasks.setup_nvim] [tasks.setup_nvim]
+14
View File
@@ -1,5 +1,19 @@
{ {
"providers": { "providers": {
"brine.sharcnet.ca": {
"baseUrl": "https://brine.sharcnet.ca/v1",
"api": "openai-completions",
"models": [
{
"id": "openai//opt/vllm/models/North-Mini-Code-1.0-fp8",
"name": "openai//opt/vllm/models/North-Mini-Code-1.0-fp8"
},
{
"id": "openai/models/DeepSeek-V4-Flash-0731",
"name": "openai/models/DeepSeek-V4-Flash-0731"
}
]
},
"sagacity": { "sagacity": {
"baseUrl": "https://agent.sagacity.ca/v1", "baseUrl": "https://agent.sagacity.ca/v1",
"api": "openai-completions", "api": "openai-completions",
+60 -59
View File
@@ -1,60 +1,61 @@
{ {
"lastChangelogVersion": "1.0.4", "lastChangelogVersion": "1.1.0",
"theme": "light/dark", "theme": "light/dark",
"defaultProvider": "opencode-go", "defaultProvider": "openai",
"defaultModel": "mistral-large-4", "defaultModel": "gpt-6-sol",
"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,
"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:@ff-labs/pi-fff",
"npm:@narumitw/pi-plan-mode", "npm:@narumitw/pi-plan-mode",
"npm:@dietrichgebert/ponytail", "npm:@dietrichgebert/ponytail",
"npm:@plannotator/pi-extension", "npm:@plannotator/pi-extension",
"npm:pi-hermes-memory", "npm:pi-hermes-memory",
"npm:pi-msg-queue" "npm:pi-msg-queue"
], ],
"subagents": { "subagents": {
"agentOverrides": { "agentOverrides": {
"reviewer": { "reviewer": {
"model": "openai-codex/gpt-6-luna", "model": "obelix/ornith-1.5-35B",
"thinking": "high" "thinking": "high"
}, },
"planner": { "planner": {
"model": "obelix/ornith-1.5-35B", "model": "openai/gpt-6-luna",
"thinking": "high" "thinking": "high"
}, },
"worker": { "worker": {
"model": "opencode-go/claude-haiku-5-5" "model": "opencode-go/claude-haiku-5-5"
}, },
"oracle": { "oracle": {
"model": "openai-codex/gpt-6.1-sol", "model": "openai/gpt-6.1-sol",
"thinking": "high" "thinking": "high"
} }
} }
}, },
"defaultTools": [ "defaultTools": [
"+codemode" "+codemode"
], ],
"quietStartup": true, "quietStartup": true,
"steeringMode": "all", "steeringMode": "all",
"terminal": { "terminal": {
"showTerminalProgress": true "showTerminalProgress": true
} },
} "deviceId": "2314a9e6-0e82-49cd-8518-efc15c870eef"
}
+4 -2
View File
@@ -27,8 +27,10 @@ hl.bind("SUPER + CONTROL + A", hl.dsp.exec_cmd("terminal-launcher capture \"nvim
hl.bind("SUPER + SHIFT + I", sysinfo, { description = "Show system info" }) hl.bind("SUPER + SHIFT + I", sysinfo, { description = "Show system info" })
hl.bind("SUPER + SHIFT + Q", hl.dsp.exec_raw("ostt launch --paste"), { description = "Open ostt" }) -- hl.bind("SUPER + SHIFT + Q", hl.dsp.exec_raw("ostt launch --paste"), { description = "Open ostt" })
hl.bind("F9", hl.dsp.exec_raw("ostt launch --paste"), { description = "Open ostt" }) -- hl.bind("F9", hl.dsp.exec_raw("ostt launch --paste"), { description = "Open ostt" })
hl.bind("F9", hl.dsp.exec_raw("voxtype record toggle"), { description = "Toggle Voxtype dictation" })
hl.bind("SUPER + SHIFT + Q", hl.dsp.exec_raw("voxtype record toggle"), { description = "Toggle Voxtype dictation" })
hl.bind("SUPER + Y", toggle_master_scrolling, hl.bind("SUPER + Y", toggle_master_scrolling,
{ description = "Layout: Toggle master/scrolling" }) { description = "Layout: Toggle master/scrolling" })
+3 -3
View File
@@ -22,7 +22,7 @@ hl.bind("SUPER + ALT + escape", hl.dsp.exit(), { description = "Exit Hyprland" }
hl.bind("SUPER + CONTROL + escape", hl.dsp.exec_raw("reboot"), { description = "Reboot" }) hl.bind("SUPER + CONTROL + escape", hl.dsp.exec_raw("reboot"), { description = "Reboot" })
hl.bind("SUPER + SHIFT + CONTROL + escape", hl.dsp.exec_raw("systemctl poweroff"), { description = "Power off" }) hl.bind("SUPER + SHIFT + CONTROL + escape", hl.dsp.exec_raw("systemctl poweroff"), { description = "Power off" })
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" })
@@ -35,11 +35,11 @@ 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 = "Extract text (OCR) from screenshot" }) { description = "Extract text (OCR) from screenshot" })
hl.bind("SUPER + ALT + 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 + ALT + 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" })
+75
View File
@@ -0,0 +1,75 @@
engine = "whisper"
[hotkey]
enable = false
key = "HOME"
mode = "push_to_talk"
enabled = true
[output]
mode = "type"
fallback_to_clipboard = true
auto_submit = false
shift_enter_newlines = false
pre_type_delay_ms = 0
[output.notification]
on_recording_start = false
on_recording_stop = false
on_transcription = true
show_engine_icon = false
[osd]
enabled = true
frontend = "native"
style = "aegis-hud"
layout = "tile"
position = "top-center"
width_px = 400
height_px = 48
margin_px = 24
top_margin = 0.85
opacity = 0.95
waveform_window_secs = 3.0
peak_decay_db_per_sec = 6.0
waveform_gain = 10.0
[audio]
device = "default"
max_duration_secs = 120
pause_media = false
duck_media = false
duck_media_volume_percent = 34
duck_media_fade_ms = 150
[audio.feedback]
enabled = false
theme = "default"
volume = 0.699999988079071
[whisper]
model = "base.en"
mode = "local"
language = "auto"
translate = false
flash_attention = false
on_demand_loading = false
gpu_isolation = false
[text]
spoken_punctuation = false
smart_auto_submit = false
[vad]
enabled = true
backend = "auto"
threshold = 0.5
[meeting]
enabled = false
[meeting.diarization]
enabled = false
[meeting.audio]
source = "mic"
+34 -1
View File
@@ -1,7 +1,29 @@
[dotfiles] [dotfiles]
# Desktop files # Desktop files
"~/.local/share/applications" = { source = "applications", mode = "symlink-each" } "~/.local/share/applications/alcazar-herdr.desktop" = { source = "applications/alcazar-herdr.desktop", mode = "symlink" }
"~/.local/share/applications/alcazar-tmux.desktop" = { source = "applications/alcazar-tmux.desktop", mode = "symlink" }
"~/.local/share/applications/bianca-herdr.desktop" = { source = "applications/bianca-herdr.desktop", mode = "symlink" }
"~/.local/share/applications/bianca-tmux.desktop" = { source = "applications/bianca-tmux.desktop", mode = "symlink" }
"~/.local/share/applications/caraco-herdr.desktop" = { source = "applications/caraco-herdr.desktop", mode = "symlink" }
"~/.local/share/applications/caraco-tmux.desktop" = { source = "applications/caraco-tmux.desktop", mode = "symlink" }
"~/.local/share/applications/dupont-herdr.desktop" = { source = "applications/dupont-herdr.desktop", mode = "symlink" }
"~/.local/share/applications/dupont-tmux.desktop" = { source = "applications/dupont-tmux.desktop", mode = "symlink" }
"~/.local/share/applications/emacsclient.desktop" = { source = "applications/emacsclient.desktop", mode = "symlink" }
"~/.local/share/applications/herdr.desktop" = { source = "applications/herdr.desktop", mode = "symlink" }
"~/.local/share/applications/io.github.lgse.Strata.desktop" = { source = "applications/io.github.lgse.Strata.desktop", mode = "symlink" }
"~/.local/share/applications/nca-ai-01-herdr.desktop" = { source = "applications/nca-ai-01-herdr.desktop", mode = "symlink" }
"~/.local/share/applications/nca-ai-01-tmux.desktop" = { source = "applications/nca-ai-01-tmux.desktop", mode = "symlink" }
"~/.local/share/applications/obelix-herdr.desktop" = { source = "applications/obelix-herdr.desktop", mode = "symlink" }
"~/.local/share/applications/obelix-tmux.desktop" = { source = "applications/obelix-tmux.desktop", mode = "symlink" }
"~/.local/share/applications/pi.desktop" = { source = "applications/pi.desktop", mode = "symlink" }
"~/.local/share/applications/RampClient.desktop" = { source = "applications/RampClient.desktop", mode = "symlink" }
"~/.local/share/applications/rascar-herdr.desktop" = { source = "applications/rascar-herdr.desktop", mode = "symlink" }
"~/.local/share/applications/rascar-tmux.desktop" = { source = "applications/rascar-tmux.desktop", mode = "symlink" }
"~/.local/share/applications/steve-dev-herdr.desktop" = { source = "applications/steve-dev-herdr.desktop", mode = "symlink" }
"~/.local/share/applications/steve-dev-tmux.desktop" = { source = "applications/steve-dev-tmux.desktop", mode = "symlink" }
"~/.local/share/applications/terminal.desktop" = { source = "applications/terminal.desktop", mode = "symlink" }
"~/.local/share/applications/tmux.desktop" = { source = "applications/tmux.desktop", mode = "symlink" }
# scripts. # scripts.
"~/.local/bin/hyprland-keybindings" = { source = "script/hyprland-keybindings", mode = "symlink" } "~/.local/bin/hyprland-keybindings" = { source = "script/hyprland-keybindings", mode = "symlink" }
@@ -47,6 +69,7 @@
"~/.local/bin/strata" = { source = "bin/strata", mode = "symlink" } "~/.local/bin/strata" = { source = "bin/strata", mode = "symlink" }
"~/.config/strata/settings.toml" = { source = "config/strata/settings.toml", mode = "symlink" } "~/.config/strata/settings.toml" = { source = "config/strata/settings.toml", mode = "symlink" }
"~/.config/voxtype/config.toml" = { source = "config/voxtype/config.toml", mode = "symlink" }
[tasks.desktop] [tasks.desktop]
description = "setup gui" description = "setup gui"
@@ -68,11 +91,21 @@ run = [
] ]
[tasks.omarchy] [tasks.omarchy]
depends_post = ['setup_pi', 'setup_fish', 'setup_herdr', 'setup_nvim', 'setup_tmux']
run = [ run = [
'systemctl --user enable foot-server.service', 'systemctl --user enable foot-server.service',
'xdg-mime default obsidian.desktop x-scheme-handler/obsidian',
'xdg-settings set default-url-scheme-handler obsidian obsidian.desktop',
'fc-cache', 'fc-cache',
] ]
[tasks.voxtype]
description = "setup voxtype"
run = [
'voxtype setup model',
'voxtype setup systemd',
]
[tasks.webapps] [tasks.webapps]
description = 'create all web application' description = 'create all web application'
run = [ run = [
+9 -5
View File
@@ -18,11 +18,6 @@ elif [[ "$2" == "-r" ]]; then
RES_ARGS="-r $3" RES_ARGS="-r $3"
fi fi
if [[ ! -x /usr/bin/awww ]]; then
echo "required awww — please install with yay -S awww" >&2
exit 0
fi
# Paths # Paths
BACKGROUNDS_DIR="$HOME/Sync/Shared/wallpapers" BACKGROUNDS_DIR="$HOME/Sync/Shared/wallpapers"
CURRENT_BACKGROUND_LINK="$HOME/.local/state/omarchy/current/background" CURRENT_BACKGROUND_LINK="$HOME/.local/state/omarchy/current/background"
@@ -46,6 +41,15 @@ if [[ ! -f "$FILE_PATH" ]]; then
exit 1 exit 1
fi fi
if [[ -x /usr/bin/omarchy-theme-bg-set ]]; then
/usr/bin/omarchy-theme-bg-set $FILE_PATH && exit 0
fi
if [[ ! -x /usr/bin/awww ]]; then
echo "required awww — please install with yay -S awww" >&2
exit 0
fi
ln -nsf "$FILE_PATH" "$CURRENT_BACKGROUND_LINK" && ln -nsf "$FILE_PATH" "$CURRENT_BACKGROUND_LINK" &&
setsid uwsm app -- awww img "$CURRENT_BACKGROUND_LINK" && setsid uwsm app -- awww img "$CURRENT_BACKGROUND_LINK" &&
exit 0 exit 0
-1
View File
@@ -52,7 +52,6 @@ dotfiles.default_mode = "symlink-each"
"~/.config/omarchy/themed" = { source = "default/themed", mode = "symlink-each" } "~/.config/omarchy/themed" = { source = "default/themed", mode = "symlink-each" }
"~/.local/bin/tmux-open" = { source = "script/tmux-open", mode = "symlink" } "~/.local/bin/tmux-open" = { source = "script/tmux-open", mode = "symlink" }
"~/.local/bin/avr-flash" = { source = "script/avr-flash", mode = "symlink" } "~/.local/bin/avr-flash" = { source = "script/avr-flash", mode = "symlink" }
"~/.local/bin/dfu-flash" = { source = "script/dfu-flash", mode = "symlink" } "~/.local/bin/dfu-flash" = { source = "script/dfu-flash", mode = "symlink" }
+1 -1
View File
@@ -1,2 +1,2 @@
#!/usr/bin/env -S /bin/sh #!/usr/bin/env -S /bin/sh
exec pi --model openai-codex/gpt-6-luna -p "/skill:commit-staged commit" exec pi --model openai/gpt-6-luna -p "/skill:commit-staged commit"