2019-05-18 20:27:15 +00:00
|
|
|
# rot8
|
|
|
|
|
2019-05-19 03:41:30 +00:00
|
|
|
## automatic display rotation
|
2019-05-18 20:27:15 +00:00
|
|
|
|
|
|
|
Automatic rotate modern Linux desktop screen and input devices. Handy for
|
|
|
|
convertible touchscreen notebooks like the Kaby Lake model of the HP Spectre x360.
|
|
|
|
|
|
|
|
Rust language and the cargo package manager are required to build the binary.
|
|
|
|
|
|
|
|
```
|
|
|
|
$ git clone https://github.com/efernau/rot8
|
|
|
|
$ cd rot8 && cargo build --release
|
|
|
|
$ cp target/release/rot8 /usr/bin/rot8
|
|
|
|
```
|
|
|
|
|
2019-05-19 03:41:30 +00:00
|
|
|
Call Rote8 from sway configuration file ~/.config/sway/config:
|
2019-05-18 20:27:15 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
exec rot8
|
|
|
|
```
|