hypr: drop the Calc dictation fallback on rutherford
AltGr works in batch mode and is the preferred key, so remove the Calc experiment that was kept as a non-modifier fallback.
This commit is contained in:
parent
5ab0277b3c
commit
16a618bb3c
2 changed files with 8 additions and 16 deletions
|
|
@ -13,22 +13,14 @@ hl.monitor({
|
||||||
-- starts, release stops; the scripts guard the daemon state so stray toggles
|
-- starts, release stops; the scripts guard the daemon state so stray toggles
|
||||||
-- (key repeat, missed release) can't invert it (see keybindings.lua).
|
-- (key repeat, missed release) can't invert it (see keybindings.lua).
|
||||||
-- Kept per-host so machines that use AltGr for characters aren't affected.
|
-- Kept per-host so machines that use AltGr for characters aren't affected.
|
||||||
-- Calc is rutherford's hold-to-talk dictation key: a single non-modifier
|
-- AltGr is rutherford's hold-to-talk dictation key. With dictation emitted
|
||||||
-- key, so nothing is held while whisrs injects text. AltGr failed both ways:
|
-- as one batch, nothing is typed while the key is held, so its modifier
|
||||||
-- Hyprland drops long-hold release events for modifier keys, and the first
|
-- can't interfere with injection. Known quirk: Hyprland occasionally drops
|
||||||
-- phrase injected while AltGr was held never reached the target TUI. Pause
|
|
||||||
-- (Fn+F12) works but needs two keys for a hold button, so Calc won.
|
|
||||||
-- Press starts, release stops; the scripts guard the daemon state so stray
|
|
||||||
-- toggles (key repeat, missed release) can't invert it (see keybindings.lua).
|
|
||||||
-- Kept per-host so machines that use Calc aren't affected.
|
|
||||||
hl.bind("XF86Calculator", hl.dsp.exec_cmd("~/.config/hypr/scripts/whisrs-hold-start.sh"))
|
|
||||||
hl.bind("XF86Calculator", hl.dsp.exec_cmd("~/.config/hypr/scripts/whisrs-hold-stop.sh"), { release = true })
|
|
||||||
|
|
||||||
-- AltGr is back as the preferred hold-to-talk key now that dictation is
|
|
||||||
-- batch: nothing is typed while the key is held, so the modifier no longer
|
|
||||||
-- interferes with injection. Its known quirk: Hyprland occasionally drops
|
|
||||||
-- long-hold release events for modifier keys, in which case the recording
|
-- long-hold release events for modifier keys, in which case the recording
|
||||||
-- runs until the 6s silence auto-stop and the text lands a few seconds
|
-- runs until the 6s silence auto-stop and the text lands a few seconds
|
||||||
-- late. Calc remains bound as the non-modifier fallback.
|
-- late. Press starts, release stops; the scripts guard the daemon state so
|
||||||
|
-- stray toggles (key repeat, missed release) can't invert it (see
|
||||||
|
-- keybindings.lua). Kept per-host so machines that use AltGr aren't
|
||||||
|
-- affected.
|
||||||
hl.bind("Alt_R", hl.dsp.exec_cmd("~/.config/hypr/scripts/whisrs-hold-start.sh"))
|
hl.bind("Alt_R", hl.dsp.exec_cmd("~/.config/hypr/scripts/whisrs-hold-start.sh"))
|
||||||
hl.bind("ALT + Alt_R", hl.dsp.exec_cmd("~/.config/hypr/scripts/whisrs-hold-stop.sh"), { release = true })
|
hl.bind("ALT + Alt_R", hl.dsp.exec_cmd("~/.config/hypr/scripts/whisrs-hold-stop.sh"), { release = true })
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
│ SUPER + T Open terminal │ │ SUPER + W Close focused window │
|
│ SUPER + T Open terminal │ │ SUPER + W Close focused window │
|
||||||
│ SUPER + B Open browser │ │ SUPER + M Exit Hyprland │
|
│ SUPER + B Open browser │ │ SUPER + M Exit Hyprland │
|
||||||
│ SUPER + E Open file manager │ │ SUPER + V Toggle floating │
|
│ SUPER + E Open file manager │ │ SUPER + V Toggle floating │
|
||||||
│ SUPER+SHIFT+F23 / AltGr / Calc Voice dictation │
|
│ SUPER+SHIFT+F23 / AltGr Voice dictation │
|
||||||
└────────────────────────────────────────────────────┘ │ SUPER + P Pseudo split (dwindle) │
|
└────────────────────────────────────────────────────┘ │ SUPER + P Pseudo split (dwindle) │
|
||||||
┌───────────────── Focus Movement ───────────────────┐ │ SUPER + J Toggle split (dwindle) │
|
┌───────────────── Focus Movement ───────────────────┐ │ SUPER + J Toggle split (dwindle) │
|
||||||
│ SUPER + ←/→/↑/↓ Move focus │ │ SUPER + F Toggle fullscreen │
|
│ SUPER + ←/→/↑/↓ Move focus │ │ SUPER + F Toggle fullscreen │
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue