diff options
| author | ashprice <48685381+ashprice@users.noreply.github.com> | 2020-12-11 14:51:50 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-11 09:51:50 -0500 |
| commit | c3eefd7a683ad764f38fc39f1bf4aad97f78d767 (patch) | |
| tree | 983ca2543238ad1d0f1cb292fb7a41cc12eced3e /.local/bin | |
| parent | 88385a0c6ddbb78840eaf1f5270435eabb240a1d (diff) | |
| download | eibhear-c3eefd7a683ad764f38fc39f1bf4aad97f78d767.tar.gz eibhear-c3eefd7a683ad764f38fc39f1bf4aad97f78d767.tar.zst eibhear-c3eefd7a683ad764f38fc39f1bf4aad97f78d767.zip | |
Fixed edp1 botching dp1 grep (#861)
Co-authored-by: ashprice <vofan@tuta.io>
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/displayselect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/displayselect b/.local/bin/displayselect index b7f0a0f..f9e8062 100755 --- a/.local/bin/displayselect +++ b/.local/bin/displayselect @@ -53,7 +53,7 @@ multimon() { # Multi-monitor handler. esac ;} 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. |
