Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ $1 = "normal" ] ; then
- synclient Orientation=0
- xrandr -o normal
- elif [ $1 = "right" ] ; then
- synclient Orientation=3
- xrandr -o right
- elif [ $1 = "left" ] ; then
- synclient Orientation=1
- xrandr -o left
- elif [ $1 = "inverted" ] ; then
- synclient Orientation=2
- xrandr -o inverted
- else
- echo "rotation [normal,right,left,inverted]"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement