hypr: move the whisrs dictation binds into the per-host files

The Copilot key only exists on the laptop and rutherford binds its own
AltGr per-host, so the shared keybindings file no longer carries
machine-specific dictation keys; Chester's F23 and Pause binds live
with Chester's config now.
This commit is contained in:
Jeena 2026-09-18 07:04:32 +09:00
parent 16a618bb3c
commit 04371578b6
2 changed files with 13 additions and 9 deletions

View file

@ -9,3 +9,13 @@ hl.monitor({
position = "0x0",
scale = 1.5,
})
-- SUPER+SHIFT+F23 (the Copilot key emits this combo): hold-to-talk voice
-- dictation via whisrs. Press = start, release = stop. The scripts check the
-- daemon state so stray toggles (key repeat, missed release) can't invert it.
hl.bind("SUPER + SHIFT + F23", hl.dsp.exec_cmd("~/.config/hypr/scripts/whisrs-hold-start.sh"))
hl.bind("SUPER + SHIFT + F23", hl.dsp.exec_cmd("~/.config/hypr/scripts/whisrs-hold-stop.sh"), { release = true })
-- Pause is the alternate dictation key: Fn+F12 on the TypeMatrix 2030, and a
-- common spare key on laptops without a Copilot key
hl.bind("SUPER + SHIFT + Pause", hl.dsp.exec_cmd("~/.config/hypr/scripts/whisrs-hold-start.sh"))
hl.bind("SUPER + SHIFT + Pause", hl.dsp.exec_cmd("~/.config/hypr/scripts/whisrs-hold-stop.sh"), { release = true })