This commit is contained in:
2025-12-14 12:11:07 -08:00
parent 332c7f6832
commit 40fa19cedc
3 changed files with 8 additions and 6 deletions

View File

@@ -14,8 +14,8 @@ alias aniwrapper='aniwrapper -D 144'
## Colorls
alias ls='eza -M --group-directories-first --icons --color=always --group --git'
alias ll='ls -l'
alias la='ls -la'
alias ll='ls -lh'
alias la='ls -lah'
alias vimf='vim $(fzf --height=45% --layout=reverse --preview="bat --style=numbers --color=always --line-range :500 {}")'

View File

@@ -35,7 +35,7 @@
"Pihole2 - https://pihole2.suda.codes/admin",
"Proxmox - https://thebox.unicorn-ilish.ts.net",
"qBittorrent - https://qbittorrent.suda.codes",
"qui - https://qui.suda.codes",
"qui - http://pve-main:7476",
"Plausible - https://plausible.sudacode.com",
"Paperless - https://paperless.suda.codes",
"Prometheus - http://prometheus:9090",

View File

@@ -10,6 +10,8 @@ set -Eeuo pipefail
# notify-send "GAZOU" "Text: $DISPLAY_RES"
# echo "$RES" | wl-copy
slurp | grim -g - /tmp/ocr.png || exit 1
transformers_ocr recognize --image-path /tmp/ocr.png || exit 1
notify-send "tramsformers_ocr" "Text: $DISPLAY_RES"
# grim -g "$(slurp)" /tmp/ocr.png || exit 1
# slurp | grim -g - /tmp/ocr/ocr.png || exit 1
owocr -r clipboard -w clipboard -of text -n || exit 1
slurp | grim -g - | wl-copy
notify-send "ocr.sh" "Text: $DISPLAY_RES"