Defaults to match most lab laptops

This commit is contained in:
ville rantanen
2014-04-14 13:14:39 +03:00
parent 994f36fa86
commit f82917ee61

View File

@@ -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 ;;