From 5ab0277b3c49e19467fe078c33180111a39b177a Mon Sep 17 00:00:00 2001 From: Jeena Date: Fri, 18 Sep 2026 06:59:48 +0900 Subject: [PATCH] hypr: bring AltGr back as rutherford's dictation key With dictation emitted as one batch, nothing is typed while the key is held, so AltGr's modifier no longer interferes with injection. The long-hold release-drop quirk remains: if Hyprland swallows the release, the recording self-heals at the 6s silence auto-stop and the text lands a few seconds late. Calc stays bound as the non-modifier fallback; the cheatsheet lists both. --- hypr/hosts/rutherford.lua | 9 +++++++++ hypr/shortcuts.txt | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/hypr/hosts/rutherford.lua b/hypr/hosts/rutherford.lua index a2f2c33..f9d1cd9 100644 --- a/hypr/hosts/rutherford.lua +++ b/hypr/hosts/rutherford.lua @@ -23,3 +23,12 @@ hl.monitor({ -- 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 +-- runs until the 6s silence auto-stop and the text lands a few seconds +-- late. Calc remains bound as the non-modifier fallback. +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 }) diff --git a/hypr/shortcuts.txt b/hypr/shortcuts.txt index dc2b8ea..465c219 100644 --- a/hypr/shortcuts.txt +++ b/hypr/shortcuts.txt @@ -2,7 +2,7 @@ │ SUPER + T Open terminal │ │ SUPER + W Close focused window │ │ SUPER + B Open browser │ │ SUPER + M Exit Hyprland │ │ SUPER + E Open file manager │ │ SUPER + V Toggle floating │ -│ SUPER+SHIFT+F23 / Pause / Calc Voice dictation │ +│ SUPER+SHIFT+F23 / AltGr / Calc Voice dictation │ └────────────────────────────────────────────────────┘ │ SUPER + P Pseudo split (dwindle) │ ┌───────────────── Focus Movement ───────────────────┐ │ SUPER + J Toggle split (dwindle) │ │ SUPER + ←/→/↑/↓ Move focus │ │ SUPER + F Toggle fullscreen │