tMade switching between simple/double head easier - scripts - various script and utils
 (HTM) git clone git://z3bra.org/scripts
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit 63c579cd4746a25b9662ccdd5ff28d11559d8b78
 (DIR) parent 9b0a991f864c97fa390b098b37b5ad7bd460b41c
 (HTM) Author: z3bra <willy@mailoo.org>
       Date:   Wed,  5 Feb 2014 13:40:03 +0100
       
       Made switching between simple/double head easier
       
       Diffstat:
         A dualhead.sh                         |      13 +++++++++++++
       
       1 file changed, 13 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/dualhead.sh b/dualhead.sh
       t@@ -0,0 +1,13 @@
       +#!/bin/sh
       +
       +case "$1" in
       +    "left")
       +        xrandr --output VGA1 --primary --auto --output LVDS1 --auto --right-of VGA1;;
       +    "right")
       +        xrandr --output VGA1 --primary --auto --output LVDS1 --auto --left-of VGA1;;
       +    "dup")
       +        xrandr --output VGA1 --same-as LVDS1 --output LVDS1 --primary;;
       +    "only")
       +        xrandr --output VGA1 --primary --auto --output LVDS1 --off;;
       +    *) echo `basename $0` '{left|right|same|only}';;
       +esac