Add screenshot OCR functionality with Minimal Dependencies (#1918)

* Add script to capture screenshot, perform OCR, and copy text to clipboard

* Add binding for screenshot-ocr

* Update OCR binding description

* Add tesseract OCR and language data installation

* Update bindings to current dev

* Refactor screenshot capture method to use wayfreeze and slurp for region selection

* Refactor OCR text extraction to simplify error handling

* Bring up to date

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
K T Prajwal Prathiksh
2026-05-03 15:25:33 +02:00
committed by GitHub
co-authored by David Heinemeier Hansson
parent fcf742a3a1
commit 75eec08758
5 changed files with 34 additions and 1 deletions
+1
View File
@@ -38,6 +38,7 @@ bindl = , switch:off:Lid Switch, exec, omarchy-hyprland-monitor-internal on
bindd = , PRINT, Screenshot, exec, omarchy-capture-screenshot
bindd = ALT, PRINT, Screenrecording, exec, omarchy-menu screenrecord
bindd = SUPER, PRINT, Color picker, exec, pkill hyprpicker || hyprpicker -a
bindd = SUPER CTRL, PRINT, Extract text (OCR) from screenshot, exec, omarchy-capture-text-extraction
# File sharing
bindd = SUPER CTRL, S, Share, exec, omarchy-menu share