diff options
| author | 2026-05-13 13:43:23 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:23 +0100 | |
| commit | 5c241d65ed4a6ec2bc3e5d75d6858ed6722f1b17 (patch) | |
| tree | 9885503fbde0324c04e51c6cd70bce143c4a8355 /meta | |
| 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 'meta')
| -rw-r--r-- | meta/extra.txt | 9 | ||||
| -rw-r--r-- | meta/wayland.txt | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/meta/extra.txt b/meta/extra.txt index f6082d9..fb87c3d 100644 --- a/meta/extra.txt +++ b/meta/extra.txt @@ -3,3 +3,12 @@ pandoc-bin syncthing udisks2 autenticacao-gov-pt-bin + +# OCR (used by ~/.local/bin/ocr) +tesseract +tesseract-data-eng +tesseract-data-por + +# Speech-to-text (used by ~/.local/bin/dictate) +whisper.cpp +whisper.cpp-model-large-v3-turbo-q5_0 diff --git a/meta/wayland.txt b/meta/wayland.txt index fa0f26f..91d68b4 100644 --- a/meta/wayland.txt +++ b/meta/wayland.txt @@ -30,6 +30,9 @@ grim slurp wf-recorder +# Wayland typing (used by dictate, etc) +wtype + # Image viewer imv |
