dots


commit
3df4d0a
parent
8775ee5
author
xxwhirlpool
date
2026-03-26 15:20:40 -0400 EDT
ocr, misc
3 files changed,  +17, -1
M config/.bashrc-laptop
+1, -0
1@@ -117,6 +117,7 @@ alias sun="daylight --short --timezone='America/New_York' | lolcat"
2 alias gitall="git remote | xargs -L1 git push --all"
3 alias gyolo="git add . && git commit -m 'yolo'"
4 alias gitd="git diff --staged"
5+alias gitlc="git diff HEAD~"
6 alias gdiff="gitd"
7 alias gits="git status"
8 alias gita="git add ."
M config/.config/shmoji/emojis.txt
+1, -1
1@@ -2698,7 +2698,7 @@
2 ๐Ÿงจ firecracker
3 โœจ sparkles
4 ๐ŸŽˆ balloon
5-๐ŸŽ‰ party popper
6+๐ŸŽ‰ party popper tada
7 ๐ŸŽŠ confetti ball
8 ๐ŸŽ‹ tanabata tree
9 ๐ŸŽ pine decoration
A config/.local/bin/ocr
+15, -0
 1@@ -0,0 +1,15 @@
 2+#!/usr/bin/env bash
 3+
 4+if [[ $# -eq 0 || ! -f "$1" ]]; then
 5+	echo "Usage: ocr [IMAGE]"
 6+	exit 1
 7+fi
 8+
 9+if [[ ! $(command -v tesseract) ]]; then
10+	echo "missing required dep: tesseract"
11+	exit 1
12+fi
13+
14+img="$1"
15+
16+tesseract --dpi 254 "$img" stdout