Anton Shestakov <engored@ya.ru>, Thu, 04 Sep 2014 14:28:14 +0900
Mogrify screenshots to a certain width.
docs/make-screenshots.sh
Permissions: -rwxr-xr-x
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 grep -v
'^\s*\(#\|$\)' "./prompt-session-${what}.sh" | bash -i
import -window
$WINDOWID "./prompt-${what}.png" mogrify -trim -background black -extent 800x
"./prompt-${what}.png"