#!/bin/sh
if [ "$1" = "off" ] ; then
    xrandr --output LVDS --mode 1280x800 --auto
    xrandr --output VGA --off
else
    xrandr --output LVDS --mode 1024x768 --auto

    xrandr --newmode "1024x768" 63.50  1024 1072 1176 1328  768 771  775  798 -hsync +vsync
    xrandr --addmode VGA 1024x768
    xrandr --output VGA --mode 1024x768
fi


