Commit d49db392 authored by Klink's avatar Klink

New geometry last in the filename

parent 798adde5
......@@ -54,7 +54,7 @@ if [ -x "`which urlize.pl`" ]; then GRABBED_NAME_CLEANED=`urlize -e "$GRABBED_NA
GRABBED_GEOMETRY=`xdotool getwindowgeometry "$GRABBED_ID" | tr -d " " | tr '[:upper:]' '[:lower:]' | grep geometry | cut -f 2 -d :`
# create output name
OUTPUT="$GRABBED_NAME_CLEANED-$GRABBED_GEOMETRY-`date +%y%m%d_%H%M%S`.png"
OUTPUT="$GRABBED_NAME_CLEANED-`date +%y%m%d_%H%M%S`-$GRABBED_GEOMETRY.png"
# remove repeated characrters
OUTPUT=`echo "$OUTPUT" | tr -s '[:punct:]' | tr -s '[:space:]'`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment