Update resolution

This commit is contained in:
Jeremy Gardais 2019-11-23 12:17:50 +01:00
parent eaae3c32ab
commit 75855a169d
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 3 additions and 3 deletions

6
ecran
View File

@ -10,14 +10,14 @@ case "${1}" in
ds | dockstation | work ) ds | dockstation | work )
xrandr --output DP-1 --mode 1920x1080 --left-of LVDS-1 --output LVDS-1 --mode 1366x768 xrandr --output DP-1 --mode 1920x1080 --left-of LVDS-1 --output LVDS-1 --mode 1366x768
printf 'Xrandr for DisplayPort with dock station';; printf 'Xrandr for DisplayPort with dock station';;
vga | lug ) vga )
xrandr --output VGA-1 --mode 1280x1024 --right-of LVDS-1 --output LVDS-1 --mode 1366x768 xrandr --output VGA-1 --mode 1024x768 --right-of LVDS-1 --output LVDS-1 --mode 1366x768
printf 'Xrandr for dual screen with VGA';; printf 'Xrandr for dual screen with VGA';;
hdmi | dp | displayport ) hdmi | dp | displayport )
xrandr --output HDMI-1 --mode 1920x1080 --above LVDS-1 --output LVDS-1 --mode 1366x768 xrandr --output HDMI-1 --mode 1920x1080 --above LVDS-1 --output LVDS-1 --mode 1366x768
printf 'Xrandr for dual screen with DisplayPort';; printf 'Xrandr for dual screen with DisplayPort';;
pres | prez | presentation ) pres | prez | presentation )
xrandr --output HDMI-1 --mode 1024x768 --output LVDS-1 --mode 1366x768 --same-as HDMI-1 xrandr --output VGA-1 --mode 1024x768 --left-of LVDS-1 --output LVDS-1 --mode 1366x768
printf 'Xrandr for presentation';; printf 'Xrandr for presentation';;
- | off ) - | off )
xrandr --output LVDS-1 --mode 1360x768 --output HDMI-1 --off --output VGA-1 --off --output HDMI-3 --off --output DP-1 --off xrandr --output LVDS-1 --mode 1360x768 --output HDMI-1 --off --output VGA-1 --off --output HDMI-3 --off --output DP-1 --off