]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Only output "rotate" once
authortachylatus <helgesdk@gmail.com>
Thu, 30 Jan 2014 13:57:58 +0000 (14:57 +0100)
committertachylatus <helgesdk@gmail.com>
Thu, 30 Jan 2014 13:57:58 +0000 (14:57 +0100)
autorandr

index e3c9d6df4bf39f33da9580b388b35189d40c96e0..1317061aa4e8f1ecd263c389f00c3b09b2e3a181 100755 (executable)
--- a/autorandr
+++ b/autorandr
@@ -135,7 +135,6 @@ current_cfg_xrandr() {
                if (($4 == "left") || ($4 == "right")) {
                        split(A[1], B, "x");
                        A[1] = B[2]"x"B[1];
-                       print "rotate "$4;
                }
                print "mode "A[1];
                print "pos "A[2]"x"A[3];