summaryrefslogtreecommitdiffstats
path: root/dwl-patches/patches/kblayout/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'dwl-patches/patches/kblayout/README.md')
-rw-r--r--dwl-patches/patches/kblayout/README.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/dwl-patches/patches/kblayout/README.md b/dwl-patches/patches/kblayout/README.md
new file mode 100644
index 0000000..259694c
--- /dev/null
+++ b/dwl-patches/patches/kblayout/README.md
@@ -0,0 +1,32 @@
+### 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-kblayout", 0, 3},
+};
+```
+
+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/nikitaivanov/dwl/src/branch/kblayout)
+- [0.7](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/kblayout/kblayout.patch)
+
+### Authors
+
+- [Nikita Ivanov](https://codeberg.org/nikitaivanov) ([GitHub](https://github.com/NikitaIvanovV))
+- [ForzCross](https://codeberg.org/ForzCross)