#!/bin/bash #Author Bruno Goncalves #License: GPLv2 or later ################################################# #Translation export TEXTDOMAINDIR="/usr/share/locale" export TEXTDOMAIN=bigocrpdf # Don't group windows xprop -id "$(xprop -root '\t$0' _NET_ACTIVE_WINDOW | cut -f 2)" -f WM_CLASS 8s -set WM_CLASS "$$" # # Import BigControlCenter base modules / Importa os módulos básicos do BigControlCenter # That's include jquery and materialize / Isso inclui o jquery e o materialize # http://materializecss.com/ . /usr/share/bigbashview/bcc/shell/base.sh Open=$"Abrir" File=$"Arquivo:" Folder=$"Pasta:" cat << EOF
EOF # Get body tag with color light or not /usr/share/bigbashview/bcc/shell/getbgcolor.sh OIFS=$IFS IFS=$'\n' cat << EOF

## EOF echo $"OCR para PDF" cat << EOF

### EOF #Open terminal WINDOW_ID="$(xprop -root '\t$0' _NET_ACTIVE_WINDOW | cut -f 2)" urxvt +sb -internalBorder 1 -borderColor rgb:00/22/40 -depth 32 -fg rgb:00/ff/ff -bg rgb:00/22/40 -fn "xft:Ubuntu Mono:pixelsize=18" -embed $(xprop -root '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) -sr -bc -e /usr/share/bigbashview/bcc/apps/bigocrpdf/run_terminal.sh echo $"Concluído!" #Support multi pdf if [ "$(cat ~/.config/bigocrpdf/selected-file | wc -l)" -gt "1" ]; then cat << EOF

##### $Folder

#### EOF else cat << EOF

- ##### $File

- ##### $Folder

#### EOF fi echo "
" echo $"Salvo em: " echo "$(cat ~/.config/bigocrpdf/savefile)" echo "
" echo '' cat "$HOME/.config/bigocrpdf/text.txt" rm "$HOME/.config/bigocrpdf/text.txt" echo '' cat << EOF

EOF cat << EOF
EOF