add a little side note
This commit is contained in:
parent
cd2e9bab9e
commit
f68559f233
13
README.md
13
README.md
|
@ -7,3 +7,16 @@ A window manager written in [Rust](https://rust-lang.org).
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
Please contribute, we don't know what the fuck we are doing. How we even got to this point is beyond us.
|
Please contribute, we don't know what the fuck we are doing. How we even got to this point is beyond us.
|
||||||
|
|
||||||
|
### A small side note about the config file and keybinds
|
||||||
|
|
||||||
|
If you wish to set a keybind, you must use a 32-bit unsigned integer value.
|
||||||
|
These values are pre-defined, and can be found in the `keysymdef.rs` file.
|
||||||
|
The file is an automatically generated binding from the `keysymdef.h` file
|
||||||
|
(which can be found at `/usr/include/X11`). Refer to both of these files if
|
||||||
|
you are having trouble with keybinds. Please note, however, that it is
|
||||||
|
not a direct binding - the constant names have been trimmed (the prefix `XK_`)
|
||||||
|
removed, and have been renamed to follow rust constant naming conventions. Some
|
||||||
|
keysyms (mostly greek ones) have been outright removed, due to me being too lazy
|
||||||
|
to bother with renaming them all in order to not have conflicts.
|
||||||
|
> `hungl was here`
|
Loading…
Reference in a new issue