]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Output "same-as" in the "common" virtual configuration
authorPhillip Berndt <phillip.berndt@googlemail.com>
Sun, 20 Jul 2014 10:38:11 +0000 (12:38 +0200)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Sun, 20 Jul 2014 10:38:11 +0000 (12:38 +0200)
autorandr

index e2afd428019c274c2e90f32cca0a47681fc70d10..e455700210e436f0c29e3d415ffb9b7d1c24e1f0 100755 (executable)
--- a/autorandr
+++ b/autorandr
@@ -200,6 +200,9 @@ common_cfg_xrandr() {
                    print "output " outputarr[i];
                    print "mode " maxmode;
                    print "pos 0x0";
+                   if (i > 0) {
+                       print "same-as " outputarr[0]
+                   }
                }
            }
        }' \