[x11_vimshot.sh]: Only send filepath notification if screenshot taken

This commit is contained in:
2025-01-27 00:10:46 +00:00
parent 25f7f2a6b7
commit 8c375f9091

View File

@ -13,6 +13,4 @@ fi
notify-send "$basename" "Taking screenshot to $filepath"
sleep 5
maim --select --hidecursor "$filepath"
notify-send --icon "$filepath" "$basename" "Screenshot saved to: $filepath"
maim --select --hidecursor "$filepath" && notify-send --icon "$filepath" "$basename" "Screenshot saved to: $filepath"