#!/bin/sh file=$(scrot -s -e 'echo $f') gimp "$file" fb "$file" rm "$file"