diff options
| author | 2026-05-13 13:43:23 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:23 +0100 | |
| commit | 5c241d65ed4a6ec2bc3e5d75d6858ed6722f1b17 (patch) | |
| tree | 9885503fbde0324c04e51c6cd70bce143c4a8355 /KEYBINDS.md | |
| parent | d2da7ff900f360c0eec1e17f62df1358651ed77c (diff) | |
| download | dotfiles-5c241d65ed4a6ec2bc3e5d75d6858ed6722f1b17.tar.gz dotfiles-5c241d65ed4a6ec2bc3e5d75d6858ed6722f1b17.tar.bz2 dotfiles-5c241d65ed4a6ec2bc3e5d75d6858ed6722f1b17.zip | |
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.
Diffstat (limited to 'KEYBINDS.md')
| -rw-r--r-- | KEYBINDS.md | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |
