From 5c241d65ed4a6ec2bc3e5d75d6858ed6722f1b17 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:23 +0100 Subject: feat(sway): add dictate (whisper.cpp) and ocr (tesseract) keybinds Push-to-talk dictation toggle on Super+i: parecord captures 16 kHz mono WAV, whisper-cli transcribes (auto language), output is typed via wtype and copied to the clipboard. Region OCR on Super+Shift+o: slurp + grim feed tesseract (eng+por), result lands in the clipboard with a notification preview. Adds wtype to wayland.txt; tesseract (+eng/por data) and whisper.cpp + the large-v3-turbo-q5_0 model package to extra.txt. --- KEYBINDS.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'KEYBINDS.md') diff --git a/KEYBINDS.md b/KEYBINDS.md index 1988f6e..3f203c1 100644 --- a/KEYBINDS.md +++ b/KEYBINDS.md @@ -324,6 +324,8 @@ Mod key: `Super` (Mod4). Only personal additions beyond sway defaults listed. | `XF86RFKill` | Toggle all radios (rfkill) | | `Print` | Region screenshot (grim+slurp) | | `Shift+Print` | Full screenshot (grim) | +| `Super+i` | Dictate toggle (whisper.cpp → wtype + clipboard) | +| `Super+Shift+o` | OCR region (tesseract → clipboard) | | `Super+Shift+s` | Lock screen + pause media | | `Super+n` | Dismiss notification | | `Super+Shift+n` | Dismiss all notifications | -- cgit v1.3.1