update monitor xrandr scripts
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
63ff201259
commit
415aff6319
2 changed files with 15 additions and 4 deletions
|
@ -1,2 +1,6 @@
|
|||
#!/bin/sh
|
||||
xrandr --output VGA --off
|
||||
external="HDMI-2 VGA"
|
||||
|
||||
for R in $external; do
|
||||
xrandr --output $R --off
|
||||
done
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
#!/bin/sh
|
||||
xrandr --output LVDS --auto
|
||||
xrandr --output VGA --auto
|
||||
xrandr --output VGA --right-of LVDS
|
||||
|
||||
L=LVDS1
|
||||
|
||||
xrandr --output $L --auto
|
||||
|
||||
external="VGA1 HDMI1 DP1 HDMI2 DP2 DP3 HDMI-2 VGA"
|
||||
|
||||
for R in $external; do
|
||||
xrandr --output $R --auto --right-of $L
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue