From 2d72259d8e2dd905280d6c8128ce71c4f9677117 Mon Sep 17 00:00:00 2001 From: Ferdinand Schober Date: Tue, 20 Sep 2022 00:55:35 +0200 Subject: [PATCH] add config instructions --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 13565f3..fa60b07 100644 --- a/README.md +++ b/README.md @@ -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