scripts

various script and utils
git clone git://z3bra.org/scripts
Log | Files | Refs

commit 63c579cd4746a25b9662ccdd5ff28d11559d8b78
parent 9b0a991f864c97fa390b098b37b5ad7bd460b41c
Author: z3bra <willy@mailoo.org>
Date:   Wed Feb  5 13:40:03 +0100

Made switching between simple/double head easier

Diffstat:
dualhead.sh | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/dualhead.sh b/dualhead.sh @@ -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