xclip -out -selection clipboard -t image/png > "/tmp/${FileName}" 2>/dev/null
if [ "$(file -b --mime-type "/tmp/${FileName}")" == "image/png" ]; then
mv "/tmp/${FileName}" "${LocalPath}/"
xclip -out -selection clipboard -t image/png > "/tmp/${FileName}" 2>/dev/null
if [ "$(file -b --mime-type "/tmp/${FileName}")" == "image/png" ]; then
mv "/tmp/${FileName}" "${LocalPath}/"