]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - autorandr
Output "same-as" in the "common" virtual configuration
[deb_pkgs/autorandr.git] / 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]
+                   }
                }
            }
        }' \