Removed ocrdesktop dependency. I38 now handles OCR with a much smaller, simpler and faster program.

This commit is contained in:
Storm Dragon committed 2025-05-12 06:07:03 -04:00
1 parent 09e21e297c
commit 65e6dcf980
4 files changed
+156 -6

No files matched your search

+2 -4
View File
@@ -576,10 +576,8 @@ bindsym $mod+Shift+BackSpace mode "default"
EOF
# ocrdesktop through speech-dispatcher
if command -v ocrdesktop &> /dev/null ; then
echo "bindsym ${mod}+F5 exec bash -c 'spd-say -Cw \"performing O C R\" && ocrdesktop -cnog | spd-say -e --'" >> ${i3Path}/config
fi
# ocr through speech-dispatcher
echo "bindsym ${mod}+F5 exec ${i3Path}/scripts/ocr.py" >> ${i3Path}/config
# Interrupt speech-dispatcher output
echo "bindsym ${mod}+Shift+F5 exec spd-say -C" >> ${i3Path}/config