-- Host-specific overrides: Rutherford (desktop PC) -- Loaded automatically by hyprland.lua via hostname detection. hl.monitor({ output = "DP-1", mode = "2560x1440@74.97", position = "0x0", scale = 1, }) -- Bare AltGr (right Alt on the TypeMatrix) is the hold-to-talk dictation key -- here. Raw keycode 108 (KEY_RIGHTALT) so it matches in every kb group. 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 for characters aren't affected. -- Bare AltGr (right Alt on the TypeMatrix) is the hold-to-talk dictation key -- here. Alt_R is the keysym right Alt produces under us,dvorak (pc's RALT); -- the se group remaps it to ISO_Level3_Shift for AltGr combos and is left -- alone on purpose. Press = start (modmask 0: Hyprland excludes the pressed -- key's own modifier), release = stop (modmask ALT: Alt_R is itself Mod1 and -- is still active while its release event is processed, so the release bind -- must carry ALT to match). 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 + Alt_R", hl.dsp.exec_cmd("~/.config/hypr/scripts/whisrs-hold-stop.sh"), { release = true })