Add a new screen configuration for presentation.
This commit is contained in:
parent
c2cedf3086
commit
a5ef30324f
4
ecran
4
ecran
|
@ -16,6 +16,9 @@ case "${1}" in
|
||||||
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 )
|
||||||
|
xrandr --output HDMI-1 --mode 1024x768 --output LVDS-1 --mode 1366x768 --same-as HDMI-1
|
||||||
|
printf 'Xrandr for presentation';;
|
||||||
- | off )
|
- | off )
|
||||||
xrandr --output LVDS-1 --mode 1360x768 --output HDMI-1 --off --output VGA-1 --off
|
xrandr --output LVDS-1 --mode 1360x768 --output HDMI-1 --off --output VGA-1 --off
|
||||||
xrandr --output VGA --off
|
xrandr --output VGA --off
|
||||||
|
@ -30,3 +33,4 @@ herbstclient detect_monitors
|
||||||
herbstclient reload
|
herbstclient reload
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue