From 02250278869bc1a787a1f36f3fa968b50bb36eff Mon Sep 17 00:00:00 2001 From: tachylatus Date: Thu, 30 Jan 2014 18:42:25 +0100 Subject: [PATCH] Revert "Apply normal rotation unless another one is set" This reverts commit 007920e83cf934f765d4424fab8148c9611eaacc. --- autorandr | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/autorandr b/autorandr index 1635ce5..e5f8a6e 100755 --- a/autorandr +++ b/autorandr @@ -135,13 +135,12 @@ current_cfg_xrandr() { if (($4 == "left") || ($4 == "right")) { split(A[1], B, "x"); A[1] = B[2]"x"B[1]; - print "rotate "$4; - } - else { - print "rotate normal"; } print "mode "A[1]; print "pos "A[2]"x"A[3]; + if ($4 !~ /^\(/) { + print "rotate "$4; + } next; } # disconnected or disabled displays -- 2.39.5