revive kblayout

This commit is contained in:
ForzCross
2024-01-21 16:31:05 +03:00
parent 09bd313f9a
commit 11bf412a25
2 changed files with 187 additions and 27 deletions
-27
View File
@@ -1,27 +0,0 @@
### Description
This patch adds per-client keyboard layout and ability to send current
keyboard layout information to a status bar.
Only per-client feature is enabled by default. You can edit
`kblayout_file` and `kblayout_cmd` variables to notify a status bar
about keyboard layout.
[Someblocks](https://sr.ht/~raphi/someblocks) config that works
with the example settings in `config.h`:
```c
static const Block blocks[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
{"", "cat /tmp/dwl-keymap", 0, 1},
};
```
Both of these features are included in one patch because their
implementation happens to share some code. If you don't need
any of these features, just disable it in `config.h`.
### Download
- [2023-12-21](https://github.com/djpohly/dwl/compare/main...NikitaIvanovV:kblayout.patch)
### Authors
- [Nikita Ivanov](https://github.com/NikitaIvanovV)