Commit graph

6 commits

Author SHA1 Message Date
sphh de626ee326
Adds MIT license to the rotate-screen script. 2021-11-28 13:05:49 +00:00
sphh 3ed56ea599
New command line options and functionality.
- Orientation can be get from the accelerometer or the current screen orientation (`rotate-screen` or `rotate-screen screen`).
- Orientation can be switched to the next orientation (`rotate-screen next`: normal->left->inverted->right->normal or `rotate-screen previous`).
- Orientation can be specified at the command line (`rotate-screen normal|left|inverted|right`).

I hope this covers most use cases!
2021-05-19 10:19:29 +00:00
sphh 9621155f9c
Return error message and exit. 2021-05-18 18:27:37 +00:00
sphh 80f490ea71
Use modern "$()" instead of "``". 2021-05-18 18:24:01 +00:00
sphh 7ff59553af
Correct a wrong check for the 'xrandr' executable. 2021-05-18 15:11:33 +00:00
Stephan Helma 57d8a66a5f Initial commit of contrib/rotate-screen/ directory. 2021-04-20 17:25:23 +02:00