48:1af673a1af4d
Anton Shestakov <engored@ya.ru>, Thu, 04 Sep 2014 14:28:14 +0900
Mogrify screenshots to a certain width.

next change 49:bcea0d567333
previous change 46:30828f540fe8

docs/make-screenshots.sh

Permissions: -rwxr-xr-x

Other formats: Feeds:
#!/bin/bash
command -v import &>/dev/null || { echo "this needs imagemagick's import command"; exit 1; }
cd "$(dirname "${BASH_SOURCE[0]}")"
for what in 'exit' venv hg git ; do
clear
grep -v '^\s*\(#\|$\)' "./prompt-session-${what}.sh" | bash -i
import -window $WINDOWID "./prompt-${what}.png"
mogrify -trim -background black -extent 800x "./prompt-${what}.png"
done
clear
echo all done