diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-02-27 14:47:13 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-02-27 14:47:13 -0500 |
commit | dc5b9b92564413490788f3e573118c7a183131fa (patch) | |
tree | f9cb2ae3892d11758f3eee5571f504e1013b14c7 /bin/hornet | |
parent | 94d56e634a0313e8c1b35dafac691837d3f79286 (diff) | |
download | conf-dc5b9b92564413490788f3e573118c7a183131fa.tar.gz conf-dc5b9b92564413490788f3e573118c7a183131fa.zip |
explicitly configure hdmi attachment
auto-mirroring doesn't work very well anymore now that this laptop isn't
running at 1920x1080
Diffstat (limited to 'bin/hornet')
-rwxr-xr-x | bin/hornet/tv | 8 |
1 files changed, 8 insertions, 0 deletions
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 |