fixes to Notifications
This commit is contained in:
1 parent
d07e185ddf
commit
48fb1e6a19
7 files changed
+8
-12
No files matched your search
@@ -32,7 +32,7 @@ printf "%s" "$text" | wl-copy
|
||||
if command -v notify-send >/dev/null 2>&1; then
|
||||
# Truncate text preview for notification brevity
|
||||
preview=$(echo "$text" | head -n 3)
|
||||
notify-send -a "OCR" -i edit-select-all "Text Copied to Clipboard" "$preview"
|
||||
notify-send --app-name "Screenshot" --icon "edit-find" -u normal "OCR" "Text Copied to Clipboard:\n$preview"
|
||||
fi
|
||||
|
||||
# Install: sudo pacman -S grim slurp tesseract tesseract-data-eng wl-clipboard libnotify
|
||||
Reference in new issue
Block a user