From d1cd61c66ded1ec4f73e18cccd4737633d35fc61 Mon Sep 17 00:00:00 2001 From: sewn Date: Wed, 20 Sep 2023 16:30:07 +0300 Subject: [PATCH] Created kbrules (markdown) --- kbrules.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 kbrules.md diff --git a/kbrules.md b/kbrules.md new file mode 100644 index 0000000..44e20c8 --- /dev/null +++ b/kbrules.md @@ -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) \ No newline at end of file