OCR through speech-dispatcher added. Interrupt speech-dispatcher key added.
This commit is contained in:
		
							
								
								
									
										7
									
								
								i38.sh
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								i38.sh
									
									
									
									
									
								
							| @@ -533,6 +533,13 @@ bindsym $mod+Shift+BackSpace mode "default" | |||||||
|  |  | ||||||
| EOF | EOF | ||||||
|  |  | ||||||
|  | # ocrdesktop through speech-dispatcher | ||||||
|  | if command -v ocrdesktop &> /dev/null ; then | ||||||
|  |     echo "bindsym ${mod}+F5 exec bash -c 'spd-say \"performing O C R\" && ocrdesktop -cno | spd-say -e --'"  >> ${i3Path}/config | ||||||
|  | fi | ||||||
|  | # Interrupt speech-dispatcher output | ||||||
|  | echo "bindsym ${mod}+Shift+F5 exec spd-say -C" >> ${i3Path}/config | ||||||
|  |  | ||||||
| # Multiple keyboard layouts if requested. | # Multiple keyboard layouts if requested. | ||||||
| if [[ ${#kbd[@]} -gt 1 ]]; then | if [[ ${#kbd[@]} -gt 1 ]]; then | ||||||
|     echo "bindsym Mod4+space exec ${i3Path}/scripts/keyboard.sh cycle ${kbd[@]}" >> ${i3Path}/config |     echo "bindsym Mod4+space exec ${i3Path}/scripts/keyboard.sh cycle ${kbd[@]}" >> ${i3Path}/config | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user