Update README.md (#96)

* Update README.md

include release_bind in example config

* update config.toml as well
This commit is contained in:
Ferdinand Schober
2024-03-18 09:54:38 +01:00
committed by GitHub
parent 9e56c546cd
commit 8ed4520172
2 changed files with 10 additions and 0 deletions

View File

@@ -253,10 +253,17 @@ To automatically load clients on startup, the file `$XDG_CONFIG_HOME/lan-mouse/c
To create this file you can copy the following example config:
### Example config
> [!TIP]
> key symbols in the release bind are named according
> to their names in [src/scancode.rs#L172](src/scancode.rs#L172).
> This is bound to change
```toml
# example configuration
# configure release bind
release_bind = [ "KeyA", "KeyS", "KeyD", "KeyS" ]
# optional port (defaults to 4242)
port = 4242
# # optional frontend -> defaults to gtk if available

View File

@@ -1,5 +1,8 @@
# example configuration
# release bind
release_bind = [ "KeyA", "KeyS", "KeyD", "KeyS" ]
# optional port (defaults to 4242)
port = 4242
# optional frontend -> defaults to gtk if available