162 current 2024-06-05 10:20:51 24.11.20240529.ad57eef 6.9.2-zen1 *

This commit is contained in:
sadan 2024-06-05 10:21:08 -04:00
parent 0bc4076eb3
commit 45ea4ccdfa
No known key found for this signature in database

View file

@ -35,6 +35,8 @@ in
nodejs_22 nodejs_22
]; ];
gui = with pkgs;[ gui = with pkgs;[
#OCR ENGINE
tesseract4
cpkg.discord cpkg.discord
xsel xsel
spotify spotify
@ -121,6 +123,12 @@ in
set -e set -e
python3 -c "print($*)" python3 -c "print($*)"
'') '')
(pkgs.writeShellScriptBin "ocr" ''
set -euo pipefail
TEMP=$(mktemp)
flameshot -s -r gui > $TEMP
(tesseract $TEMP --oem 1 -l eng | copy )|| copy "OCR RETUNRED NON-ZERO"
'')
]; ];
wsl = with pkgs;[ wsl = with pkgs;[
wslu wslu