diff --git a/ecran b/ecran index bdde8e4..6223bf0 100755 --- a/ecran +++ b/ecran @@ -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 +