diff options
-rwxr-xr-x | localxrandr | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/localxrandr b/localxrandr index 43abe19..fd78245 100755 --- a/localxrandr +++ b/localxrandr @@ -17,7 +17,7 @@ for output in $(xrandr | egrep '^[^ ]+ connected' | awk '{print $1}'); do LVDS|LVDS1|LVDS-1) lcd="$output" ;; - VGA) + VGA|VGA1) vga="$output" ;; TMDS-1|DVI1|DVI-I-1) @@ -43,6 +43,8 @@ if [ -n "$lcd" ] && [ -n "$dvi" ]; then else xrandr --output "$dvi" --mode 1280x800 fi +elif [ -n "$vga" ]; then + xrandr --output "$vga" --mode 1680x1050 else xrandr --auto fi |