add screenshot thumbnail as icon to notifcation

This commit is contained in:
2023-11-28 22:14:01 +00:00
parent 46ee39b61a
commit 2fd1b0f9f7

View File

@ -3,4 +3,4 @@
filepath="$HOME/media/images/screenshots/$(date +%Y-%m-%d\ %H:%M:%S).png" filepath="$HOME/media/images/screenshots/$(date +%Y-%m-%d\ %H:%M:%S).png"
maim --select --hidecursor | tee "$filepath" | xclip -selection clipboard -target image/png maim --select --hidecursor | tee "$filepath" | xclip -selection clipboard -target image/png
notify-send "$0" "Screenshot saved to: $filepath" notify-send --icon "$filepath" "$0" "Screenshot saved to: $filepath"