Removed ocrdesktop dependency. I38 now handles OCR with a much smaller, simpler and faster program.
This commit is contained in:
6
i38.sh
6
i38.sh
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user