163 current 2024-06-05 10:26:11 24.11.20240529.ad57eef 6.9.2-zen1 *

This commit is contained in:
sadan 2024-06-05 10:26:24 -04:00
parent 45ea4ccdfa
commit be1f3f0b91
No known key found for this signature in database

View file

@ -126,8 +126,8 @@ in
(pkgs.writeShellScriptBin "ocr" '' (pkgs.writeShellScriptBin "ocr" ''
set -euo pipefail set -euo pipefail
TEMP=$(mktemp) TEMP=$(mktemp)
flameshot -s -r gui > $TEMP flameshot gui -s -r > $TEMP
(tesseract $TEMP --oem 1 -l eng | copy )|| copy "OCR RETUNRED NON-ZERO" (tesseract $TEMP - --oem 1 -l eng | copy )|| copy "OCR RETUNRED NON-ZERO"
'') '')
]; ];
wsl = with pkgs;[ wsl = with pkgs;[