diff --git a/config.toml b/config.toml index 912da89..e2869c9 100644 --- a/config.toml +++ b/config.toml @@ -1,15 +1,21 @@ +# define port and backend of this instance port = 42069 backend = "wlroots" -# [right] -# host_name = "localhost" -# port = 42068 +# example configuration -[left] -host_name = "Osmium" -ip = "192.168.178.114" +# define a client on the right side with host name "iridium" +[right] +# hostname +host_name = "iridium" +# optional ip address +ip = "192.168.178.141" +# optional port (defaults to 42069) port = 42069 -# [client.right] -# host_name = "Osmium" -# port = 42069 +# define a client on the left side with ip 192.168.178.189 +# +# when an ip address is specified, it takes priority +# and host_name can be omitted +[left] +ip = "192.168.178.189" diff --git a/src/main.rs b/src/main.rs index 6e0a225..cb45d9c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -43,6 +43,8 @@ pub fn main() { // start receiving client connection requests let (request_server, request_thread) = request::Server::listen(port).unwrap(); + println!("Press Ctrl+Alt+Shift+Super to release the mouse"); + // start producing and consuming events let event_producer = match producer::start(produce_tx, client_manager.get_clients(), request_server) { Err(e) => {