add config instructions

This commit is contained in:
Ferdinand Schober
2022-09-20 00:55:35 +02:00
parent 961f147a43
commit 2d72259d8e

View File

@@ -10,6 +10,12 @@ The protocols used for the virtual mouse and virtual keyboard drivers are curren
In order for layershell surfaces to be able to lock the pointer using the pointer\_constraints protocol [this patch](https://github.com/swaywm/sway/pull/7178) needs to be applied to sway.
## Build and run
First configure the client / server in `config.toml`.
Currently a client is hardcoded to be `client.right`, while a server is configured as `client.left`.
(I know, I know ... )
Client and Server can at the current state not be run on the same server, unless the port is changed in the config in between.
Run Server (sending key events):
```sh
cargo run --bin server