Fixed edp1 botching dp1 grep (#861)

Co-authored-by: ashprice <vofan@tuta.io>
This commit is contained in:
ashprice 2020-12-11 14:51:50 +00:00 committed by GitHub
parent 88385a0c6d
commit c3eefd7a68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ multimon() { # Multi-monitor handler.
esac ;} esac ;}
onescreen() { # If only one output available or chosen. onescreen() { # If only one output available or chosen.
xrandr --output "$1" --auto --scale 1.0x1.0 $(echo "$allposs" | grep -v "$1" | awk '{print "--output", $1, "--off"}' | paste -sd ' ' -) xrandr --output "$1" --auto --scale 1.0x1.0 $(echo "$allposs" | grep -v "\b$1" | awk '{print "--output", $1, "--off"}' | paste -sd ' ' -)
} }
postrun() { # Stuff to run to clean up. postrun() { # Stuff to run to clean up.