Add a new screen configuration for presentation.

This commit is contained in:
Jeremy Gardais 2017-04-06 07:36:00 +02:00
parent c2cedf3086
commit a5ef30324f
1 changed files with 4 additions and 0 deletions

4
ecran
View File

@ -16,6 +16,9 @@ case "${1}" in
hdmi | dp | displayport )
xrandr --output HDMI-1 --mode 1920x1080 --above LVDS-1 --output LVDS-1 --mode 1366x768
printf 'Xrandr for dual screen with DisplayPort';;
pres | prez | presentation )
xrandr --output HDMI-1 --mode 1024x768 --output LVDS-1 --mode 1366x768 --same-as HDMI-1
printf 'Xrandr for presentation';;
- | off )
xrandr --output LVDS-1 --mode 1360x768 --output HDMI-1 --off --output VGA-1 --off
xrandr --output VGA --off
@ -30,3 +33,4 @@ herbstclient detect_monitors
herbstclient reload
exit 0