hypr: add Pause as the alternate dictation key

The SUPER+SHIFT+F23 combo exists on the laptop's Copilot key only. On
other keyboards (TypeMatrix 2030 with Dvorak, laptops without a Copilot
key) there is no F23, so bind the same state-guarded scripts to
SUPER+SHIFT+Pause as well: Pause is Fn+F12 on the TypeMatrix and a
spare key elsewhere. Binds stay modifier-gated so bare Pause keeps its
existing use.
This commit is contained in:
Jeena 2026-09-15 09:13:47 +09:00
parent 41c9ef4609
commit b49fd02a55
2 changed files with 5 additions and 1 deletions

View file

@ -42,3 +42,7 @@ hl.bind("F2", hl.dsp.pass({ window = "class:^(com.obsproject.Studio)$" }))
-- daemon state so stray toggles (key repeat, missed release) can't invert it. -- 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-start.sh"))
hl.bind("SUPER + SHIFT + F23", hl.dsp.exec_cmd("~/.config/hypr/scripts/whisrs-hold-stop.sh"), { release = true }) 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 })

View file

@ -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 Voice dictation │ │ SUPER+SHIFT+F23 / Pause 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 │