Default to 1080p

This commit is contained in:
Andrew Scott 2022-01-04 17:45:11 -05:00
parent b565ef6f40
commit 985a7db9c8
Signed by: a
GPG key ID: 3EB62D0BBB8DB381

View file

@ -1,6 +1,6 @@
#!/bin/bash
## Simple script to mirror all connected displays for presentations
RESOLUTION=3840x2160
RESOLUTION=1920x1080
xrandr --listmonitors | sed -n '1!p' | sed -e 's/\s[0-9].*\s\([a-zA-Z0-9\-]*\)$/\1/g' | xargs -n 1 -- bash -xc 'xrandr --output $0 --mode '$RESOLUTION' --pos 0x0 --rotate normal'