Fixed edp1 botching dp1 grep (#861)
Co-authored-by: ashprice <vofan@tuta.io>
This commit is contained in:
parent
88385a0c6d
commit
c3eefd7a68
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue