[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"
|
||||
|
||||
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"
|
||||
|
Reference in New Issue
Block a user