From a5ef30324f677692a5b7a61875a5d1fa774dd189 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Thu, 6 Apr 2017 07:36:00 +0200 Subject: [PATCH] Add a new screen configuration for presentation. --- ecran | 4 ++++ 1 file changed, 4 insertions(+) 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 +