Update monitor config for home and game
This commit is contained in:
parent
868b4f2f13
commit
ad3c407a5d
6
ecran
6
ecran
|
@ -10,6 +10,9 @@ 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';;
|
||||||
|
home )
|
||||||
|
xrandr --output HDMI-1 --mode 1680x1050 --above LVDS-1 --output LVDS-1 --mode 1366x768
|
||||||
|
printf 'Xrandr for home configuration';;
|
||||||
vga )
|
vga )
|
||||||
xrandr --output VGA-1 --mode 1024x768 --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';;
|
||||||
|
@ -26,6 +29,9 @@ case "${1}" in
|
||||||
out )
|
out )
|
||||||
xrandr --output HDMI-3 --mode 1920x1080 --output LVDS-1 --off
|
xrandr --output HDMI-3 --mode 1920x1080 --output LVDS-1 --off
|
||||||
;;
|
;;
|
||||||
|
game )
|
||||||
|
xrandr --output HDMI-1 --mode 1680x1050 --output LVDS-1 --off
|
||||||
|
;;
|
||||||
* )
|
* )
|
||||||
printf 'Bad argument, please use [vga|hdmi|ds|work|-|off]'
|
printf 'Bad argument, please use [vga|hdmi|ds|work|-|off]'
|
||||||
exit 1;;
|
exit 1;;
|
||||||
|
|
Loading…
Reference in New Issue