From dc5b9b92564413490788f3e573118c7a183131fa Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 27 Feb 2021 14:47:13 -0500 Subject: explicitly configure hdmi attachment auto-mirroring doesn't work very well anymore now that this laptop isn't running at 1920x1080 --- bin/hornet/tv | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 bin/hornet/tv (limited to 'bin') diff --git a/bin/hornet/tv b/bin/hornet/tv new file mode 100755 index 0000000..eea7fca --- /dev/null +++ b/bin/hornet/tv @@ -0,0 +1,8 @@ +#!/bin/sh + +xrandr --auto +if xrandr -q | grep -q "DP-3 connected"; then + xrandr --output DP-3 --right-of eDP-1 --mode 1920x1080 +elif xrandr -q | grep -q "DP-4 connected"; then + xrandr --output DP-4 --right-of eDP-1 --mode 1920x1080 +fi -- cgit v1.2.3-54-g00ecf