#!/usr/bin/env bash

FILE=screenshot.png
if [ -f $FILE ]; then
   echo "File $FILE exists... deleting."
   rm $FILE;
else
   echo "File $FILE does not exist... Generating"
fi

# Generate screenshot
webkit2png http://sams-mbp.local:5757 --ignore-ssl-check -C --clipwidth=1200 --clipheight=900 --scale=0.75 --delay=2 -o screenshot

# Rename it to $FILE
mv screenshot-clipped.png $FILE
Add wordpress screenshot generator script
Add wordpress screenshot generator script
