kwim is an input manager for River separated from kwm, implementing the river-input-management-v1 protocol and/or related protocols in order to configure input devices independent of window manager.
- wayland (libwayland-client)
- xkbcommon
Requires zig 0.15.x.
zig build -Doptimize=ReleaseSafe-Dconfig: specify config path as compile-time config-Dkwm-config: specify kwm config path as compile-time config-Dbash-completion: if to install bash completion file (defaults totrue)-Dzsh-completion: if to install zsh completion file (defaults totrue)
zig build install -Doptimize=ReleaseSafe--prefix: specify the path to install files
Without any subcommands and options, kwim reads input rules from the same configuration file used by kwm.
You can also use -c,--config to specify the custom configuration file path.
See kwim(1) man page for complete documentation.
kwim list: list device information,kwim list -hto see details.kwim apply: apply a single rule for device,kwim apply -hto see defails.
See kwim(5) man page or kwm's config.def.zon for all possible settings.
The source code of kwim is released under the GPL-3.0.