#!/bin/sh 

if [ "$1" == "-h" ]; then
	cat << EOT
mteplero - change to lower resolution while playing videos with mplayer
0.1 (c) 2004-04-13 Tero.Karvinen at iki.fi 
url: http://www.iki.fi/karvinen
usage: mplaytero foo.vob
requires: mplayer, xranrd
EOT
	exit 0
fi

BESTRES=1280x1024	# normal working res, not yet autodetected
LOWRES=640x480	# used while playing

xrandr -s $LOWRES && mplayer -nozoom -fs $*
xrandr  -s $BESTRES


