📄 add AUR to readme 🔖 v0.1.2

This commit is contained in:
e3b 2019-09-14 05:30:02 +02:00
parent 910b1c8484
commit 84d91e6130
2 changed files with 24 additions and 7 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "rot8"
version = "0.1.1"
version = "0.1.2"
authors = ["efernau <e.fernau@efero.de>"]
license = "MIT"
description = "automatic display rotation using built-in accelerometer"

View File

@ -7,6 +7,8 @@ convertible touchscreen notebooks like the Kaby Lake model of the HP Spectre x36
Compatible with [sway](http://swaywm.org/) and [X11](https://www.x.org/wiki/Releases/7.7/).
Available in the Arch User Repository: [rot8-git](https://aur.archlinux.org/packages/rot8-git/).
Rust language and the cargo package manager are required to build the binary.
```
@ -15,28 +17,43 @@ $ cd rot8 && cargo build --release
$ cp target/release/rot8 /usr/bin/rot8
```
or
```
$ cargo install rot8
```
For Sway map your input to the output device:
```
$ swaymsg <INPUTDEVICE> map_to_output <OUTPUTDEVICE>
```
Call Rote8 from sway configuration file ~/.config/sway/config:
```
Call rot8 from sway configuration file ~/.config/sway/config:
```
exec rot8
```
For X11 set Touchscreen Device
```
rot8 --touchscreen <TOUCHSCREEN>
```
there are the following args.
```
--sleep // Set sleep millis (500)
--display // Set Display Device (eDP-1)
--touchscreen // Set Touchscreen Device X11 (ELAN0732:00 04F3:22E1)
--sleep // Set sleep millis (500)
--display // Set Display Device (eDP-1)
--touchscreen // Set Touchscreen Device X11 (ELAN0732:00 04F3:22E1)
```