tweak: make screenshot notifications transient

This commit is contained in:
Kiana Sheibani 2025-10-08 23:30:25 -04:00
parent 68d8abbc5c
commit 5918f9b71c
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
3 changed files with 5 additions and 5 deletions

View file

@ -3,8 +3,8 @@ if test $(wl-paste -l) = "image/png"; then
name=$(date '+%Y-%m-%d_%H-%M-%S').png
wl-paste -t "image/png" > ~/Pictures/"$name"
notify-send "Image stored at $name" \
-a grim -c screenshot -u low -t 3000
-a grim -c screenshot -u low
else
notify-send "No image in clipboard" \
-a grim -c screenshot -u low -t 3000
-a grim -c screenshot -u low -t 2000 -e
fi