improve display extends

This commit is contained in:
Jesús
2019-04-17 18:57:09 -05:00
parent 3f467c8d36
commit 867e1cf679
2 changed files with 15 additions and 14 deletions

View File

@@ -1,12 +0,0 @@
#!/bin/bash
IN="LVDS1"
EXT="VGA1"
if ( xrandr | grep -q "$EXT disconnected")
then
xrandr --output $IN --auto --output $EXT --off
else
xrandr --output $IN --auto --primary --output $EXT --auto --right-of $IN
## Only VGA
# xrandr --output $IN --mode 1366x768
# xrandr --output $EXT --mode 1366x768 --right-of $IN
fi