From b49fd02a55d6b6d3e22630dc2f49d5ccfe127158 Mon Sep 17 00:00:00 2001 From: Jeena Date: Tue, 15 Sep 2026 09:13:47 +0900 Subject: [PATCH] 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. --- hypr/keybindings.lua | 4 ++++ hypr/shortcuts.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hypr/keybindings.lua b/hypr/keybindings.lua index 753a441..a1e72ca 100644 --- a/hypr/keybindings.lua +++ b/hypr/keybindings.lua @@ -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. 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 }) diff --git a/hypr/shortcuts.txt b/hypr/shortcuts.txt index 03fd834..63a5e18 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 Voice dictation │ +│ SUPER+SHIFT+F23 / Pause Voice dictation │ └────────────────────────────────────────────────────┘ │ SUPER + P Pseudo split (dwindle) │ ┌───────────────── Focus Movement ───────────────────┐ │ SUPER + J Toggle split (dwindle) │ │ SUPER + ←/→/↑/↓ Move focus │ │ SUPER + F Toggle fullscreen │