mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-15 05:21:30 +03:00
Update README.md (#96)
* Update README.md include release_bind in example config * update config.toml as well
This commit is contained in:
committed by
GitHub
parent
9e56c546cd
commit
8ed4520172
@@ -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:
|
To create this file you can copy the following example config:
|
||||||
|
|
||||||
### 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
|
```toml
|
||||||
# example configuration
|
# example configuration
|
||||||
|
|
||||||
|
# configure release bind
|
||||||
|
release_bind = [ "KeyA", "KeyS", "KeyD", "KeyS" ]
|
||||||
|
|
||||||
# optional port (defaults to 4242)
|
# optional port (defaults to 4242)
|
||||||
port = 4242
|
port = 4242
|
||||||
# # optional frontend -> defaults to gtk if available
|
# # optional frontend -> defaults to gtk if available
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
# example configuration
|
# example configuration
|
||||||
|
|
||||||
|
# release bind
|
||||||
|
release_bind = [ "KeyA", "KeyS", "KeyD", "KeyS" ]
|
||||||
|
|
||||||
# optional port (defaults to 4242)
|
# optional port (defaults to 4242)
|
||||||
port = 4242
|
port = 4242
|
||||||
# optional frontend -> defaults to gtk if available
|
# optional frontend -> defaults to gtk if available
|
||||||
|
|||||||
Reference in New Issue
Block a user