Use lisgd orientation -o flag in rotate script

master
Miles Alan 4 years ago
parent 049a93e5d8
commit 818d7d5b17
  1. 4
      scripts/core/sxmo_rotate.sh

@ -15,12 +15,16 @@ isrotated() {
rotnormal() { rotnormal() {
xrandr -o normal xrandr -o normal
applyptrmatrix 0 0 0 0 0 0 0 0 0 applyptrmatrix 0 0 0 0 0 0 0 0 0
pkill lisgd
lisgd -o 0 &
exit 0 exit 0
} }
rotright() { rotright() {
xrandr -o right xrandr -o right
applyptrmatrix 0 1 0 -1 0 1 0 0 1 applyptrmatrix 0 1 0 -1 0 1 0 0 1
pkill lisgd
lisgd -o 1 &
exit 0 exit 0
} }

Loading…
Cancel
Save