Skip to content

Commit 85347d7

Browse files
committed
Fixed config EDID line for outputs with 'unknown connection' status
1 parent cffa448 commit 85347d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autorandr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ fi
7575

7676
setup_fp_xrandr_edid() {
7777
$XRANDR -q --verbose | awk '
78-
/^[^ ]+ (dis)?connected / { DEV=$1; }
78+
/^[^ ]+ (dis)?connected / || /^[^ ]+ unknown connection / { DEV=$1; }
7979
$1 ~ /^[a-f0-9]+$/ { ID[DEV] = ID[DEV] $1 }
8080
END { for (X in ID) { print X " " ID[X]; } }'
8181
}

0 commit comments

Comments
 (0)