mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-07 11:44:51 +00:00
revive kblayout
parent
24a274dba4
commit
28b0341203
1
Home.md
1
Home.md
@ -57,6 +57,7 @@ Additionally, when you have write access to this repository, remove the `.md` fi
|
||||
* [env](https://codeberg.org/dwl/dwl-patches/wiki/env)
|
||||
* [hide-behind-fullscreen](https://codeberg.org/dwl/dwl-patches/wiki/hide-behind-fullscreen)
|
||||
* [hide-behind-monocle](https://codeberg.org/dwl/dwl-patches/wiki/hide-behind-monocle)
|
||||
* [kblayout](https://codeberg.org/dwl/dwl-patches/wiki/kblayout)
|
||||
* [singlemaster](https://codeberg.org/dwl/dwl-patches/wiki/singlemaster)
|
||||
* [simpleborders](https://codeberg.org/dwl/dwl-patches/wiki/simpleborders)
|
||||
* [smartborders](https://codeberg.org/dwl/dwl-patches/wiki/smartborders)
|
||||
|
@ -15,6 +15,7 @@
|
||||
* [gaplessgrid](https://codeberg.org/dwl/dwl-patches/wiki/gaplessgrid)
|
||||
* [hide-behind-fullscreen](https://codeberg.org/dwl/dwl-patches/wiki/hide-behind-fullscreen)
|
||||
* [hide-behind-monocle](https://codeberg.org/dwl/dwl-patches/wiki/hide-behind-monocle)
|
||||
* [kblayout](https://codeberg.org/dwl/dwl-patches/wiki/kblayout)
|
||||
* [keycodes](https://codeberg.org/dwl/dwl-patches/wiki/keycodes)
|
||||
* [master-right](https://codeberg.org/dwl/dwl-patches/wiki/master-right)
|
||||
* [naturalscrolltrackpad](https://codeberg.org/dwl/dwl-patches/wiki/naturalscrolltrackpad)
|
||||
|
29
kblayout.md
Normal file
29
kblayout.md
Normal file
@ -0,0 +1,29 @@
|
||||
### 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
|
||||
- [git branch](https://codeberg.org/ForzCross/dwl/src/branch/kblayout.patch)
|
||||
- [2024-01-21](https://codeberg.org/dwl/dwl-patches/raw/branch/main/kblayout/kblayout.patch)
|
||||
|
||||
### Authors
|
||||
- [ForzCross](https://codeberg.org/ForzCross)
|
||||
- [Nikita Ivanov](https://github.com/NikitaIvanovV)
|
Loading…
x
Reference in New Issue
Block a user