Respect -c, in combination with -b, to only save image into clipboard
Rearranged code to check 'copy-image' before 'output', in case the command goes like: spectacle -b -c -o ./file.png So the file also gets saved. Otherwise, with the old arrangement, it would only save to clipboard ignoring '-o'.
Edited by Antonio Prcela