diff --git a/bin/screenshot b/bin/screenshot index 6a0c515..1f38134 100755 --- a/bin/screenshot +++ b/bin/screenshot @@ -1,7 +1,7 @@ #!/bin/sh DATE="$(date +%Y-%m-%d_%H%M%S)" -FILENAME=~/${DATE}_screenshot.png +FILENAME=~/ss/${DATE}_screenshot_$1.png LINK=~/latest_screenshot.png xwd | xwdtopnm | pnmtopng > $FILENAME if [ $? -eq 0 ]