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