Improved the script (added a file support)
Because I can't fork it to do a merge request, I open an issue to suggest an improvement. I edited the script to add a support for files. It allows me to set scrot_file=$HOME/Images/screenshot.png
so it replaces this file each time I do a screenshot.
You could also do
scrot_dir=$HOME/Images
scrot_file=screenshot.png
and it saves it to $HOME/Images/screenshot.png Naming with template like the original scrot command is also supported Here's the code: https://gist.github.com/TheDevKiller/f56fb333039d7bd541e182142f72d8a6