Created kbrules (markdown)

sewn 2023-09-20 16:30:07 +03:00
parent 93bb9c2eec
commit d1cd61c66d

15
kbrules.md Normal file

@ -0,0 +1,15 @@
### Description
Allow for keyboard rules to be used; This allows for keyboard-specific options or layouts.
The keyboard's names can be retrieved from `libinput list-devices | grep Device`, example:
```c
static const KeyboardRule kbrules[] = {
{ "AT Translated Set 2 keyboard", { .options = "altwin:swap_alt_win,caps:swapescape" } },
};
```
### Download
- [2023-09-20](https://github.com/djpohly/dwl/compare/main...apprehensions:dwl:kbrules.patch)
### Authors
- [sewn](https://github.com/apprehensions)