mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-07 19:54:50 +00:00
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 config that works
with the example settings in config.h
:
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
.