#! /bin/sh

DISPLAY=:0

if [ -z $1 ]; then
		exit
fi

killall mplayer
sleep 1

xset dpms force on
xset -dpms
xset s off

(
mplayer "dvd://$1"

xset s on
xset dpms force off
) &

