Replacement of flameshot in GNOME using automation

This is genius, thank you. The only difference I made was to switch the command to Pinta.