Fix OCR language
This commit is contained in:
parent
10dab98c70
commit
16bb0930b4
1 changed files with 2 additions and 2 deletions
|
|
@ -102,10 +102,10 @@ in {
|
|||
|
||||
xdg.desktopEntries = {
|
||||
ocr = {
|
||||
name = "OCR image: ${lang}";
|
||||
name = "OCR image";
|
||||
exec = "${pkgs.writeScript "ocr" ''
|
||||
${pkgs.xfce.xfce4-screenshooter}/bin/xfce4-screenshooter -r --save /dev/stdout | \
|
||||
${pkgs.tesseract}/bin/tesseract -l ${lang} - - | \
|
||||
${pkgs.tesseract}/bin/tesseract -l eng+fre - - | \
|
||||
${pkgs.xclip}/bin/xclip -sel clip
|
||||
''}";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue