From 56bd198f2f0075508e1c5fc12bf27e9a42a37d10 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Thu, 24 Mar 2016 08:47:12 -0500 Subject: [PATCH] Switch from one display to the other. I'd rather manually turn on than manually turn off. --- .config/srandrd.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 .config/srandrd.conf diff --git a/.config/srandrd.conf b/.config/srandrd.conf old mode 100644 new mode 100755 index 71d462f..4a7e92b --- a/.config/srandrd.conf +++ b/.config/srandrd.conf @@ -2,7 +2,9 @@ case "$SRANDRD_ACTION" in - "HDMI1 connected") xrandr --output HDMI1 --auto --right-of eDP1;; - "HDMI1 disconnected") xrandr --output HDMI1 --off;; + "HDMI1 connected") xrandr --output HDMI1 --auto + xrandr --output eDP1 --off;; + "HDMI1 disconnected") xrandr --output HDMI1 --off + xrandr --output eDP1 --auto;; esac