Tesseract: force eng language

This commit is contained in:
Alexander Bantyev 2022-08-26 12:28:33 +04:00
parent 23c7c53dc4
commit 372e73b955
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -192,7 +192,7 @@ in {
"--release ${modifier}+Insert" =
script "screenshot-ocr"
"${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp)\" - | ${pkgs.tesseract5}/bin/tesseract - - | ${pkgs.wl-clipboard}/bin/wl-copy";
"${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp)\" - | ${pkgs.tesseract5}/bin/tesseract -l eng - - | ${pkgs.wl-clipboard}/bin/wl-copy";
"${modifier}+x" = "focus output right";
"${modifier}+Shift+x" = "move workspace to output right";