diff --git a/dist/hyperpixel4-rotate b/dist/hyperpixel4-rotate index 51a20be..eaa80ce 100755 --- a/dist/hyperpixel4-rotate +++ b/dist/hyperpixel4-rotate @@ -15,7 +15,6 @@ function set_matrix { function set_display { printf "Rotating display\n"; - xrandr --output DSI-1 --rotate $1 sudo python2 - <\n" + exit 0 +fi + if [ "$ORIENTATION" == "right" ]; then set_display $ORIENTATION set_matrix 0 1 0 -1 0 1