mirror of
https://github.com/phillipberndt/autorandr
synced 2025-02-13 09:58:18 +00:00
Handle outputs with "unknown connection" as "off".
This commit is contained in:
parent
8f54947a04
commit
10ec66f3c2
@ -126,7 +126,8 @@ current_cfg_xrandr() {
|
|||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
# disconnected or disabled displays
|
# disconnected or disabled displays
|
||||||
/^[^ ]+ (dis)?connected / {
|
/^[^ ]+ (dis)?connected / ||
|
||||||
|
/^[^ ]+ unknown connection / {
|
||||||
print "output "$1;
|
print "output "$1;
|
||||||
print "off";
|
print "off";
|
||||||
next;
|
next;
|
||||||
|
Loading…
Reference in New Issue
Block a user