[x11_vimshot.sh]: Only send filepath notification if screenshot taken
This commit is contained in:
@ -13,6 +13,4 @@ fi
|
|||||||
notify-send "$basename" "Taking screenshot to $filepath"
|
notify-send "$basename" "Taking screenshot to $filepath"
|
||||||
|
|
||||||
sleep 5
|
sleep 5
|
||||||
maim --select --hidecursor "$filepath"
|
maim --select --hidecursor "$filepath" && notify-send --icon "$filepath" "$basename" "Screenshot saved to: $filepath"
|
||||||
|
|
||||||
notify-send --icon "$filepath" "$basename" "Screenshot saved to: $filepath"
|
|
||||||
|
Reference in New Issue
Block a user