From f82917ee6157c77aadd1ae54b963aeee1bef06cd Mon Sep 17 00:00:00 2001 From: ville rantanen Date: Mon, 14 Apr 2014 13:14:39 +0300 Subject: [PATCH] Defaults to match most lab laptops --- skel/disp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/skel/disp b/skel/disp index e4a3588..55f7dda 100644 --- a/skel/disp +++ b/skel/disp @@ -1,5 +1,10 @@ #!/bin/bash +# configure the display names with "xrandr" +LAPTOP=LVDS1 +ANALOG=VGA1 +DIGITAL=HDMI1 + if [ -z "$1" ] then echo 'Choose display mode: @@ -16,9 +21,6 @@ if [ -z "$2" ] then g=1 else g=$2 fi -LAPTOP=eDP1 -ANALOG=DP2 -DIGITAL=DP2 case $i in 1) xrandr --output $LAPTOP --auto --gamma $g:$g:$g --output $ANALOG --off --output $DIGITAL --off ;;