]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Apply normal rotation unless another one is set (ver.2)
authortachylatus <helgesdk@gmail.com>
Thu, 30 Jan 2014 17:43:53 +0000 (18:43 +0100)
committertachylatus <helgesdk@gmail.com>
Thu, 30 Jan 2014 17:43:53 +0000 (18:43 +0100)
autorandr

index e5f8a6e37f8dbc5aec61cb7d081ca7bc69b75326..feababdbb03e1f3bd5fa9f8df999cc7b18c25a39 100755 (executable)
--- a/autorandr
+++ b/autorandr
@@ -141,6 +141,9 @@ current_cfg_xrandr() {
                if ($4 !~ /^\(/) {
                        print "rotate "$4;
                }
+               else {
+                       print "rotate normal";
+               }
                next;
        }
        # disconnected or disabled displays