mirror of
https://github.com/stumpwm/stumpwm-contrib.git
synced 2026-09-10 07:26:25 -04:00
738 B
738 B
Keyboard layout switcher for StumpWM
Usage
Add
(load-module "kbd-layouts")
to .stumpwmrc
You can specify your keyboard layouts using the function
KEYBOARD-LAYOUT-LIST. Layouts are represented by strings identical to
those used by setxkbmap, e.g.:
(keyboard-layout-list "us" "pl" "ru -variant phonetic")
You can also specify the behavior of the CapsLock key using
variable *CAPS-LOCK-BEHAVIOR*. Available are the following values:
:normal- CapsLock serves as CapsLock:ctrl- CapsLock serves as additional Ctrl:swapped- CapsLock and Ctrl are swapped
By default the command SWITCH-KEYBOARD-LAYOUT is bound to the key
combination s-SPC (WinKey-Space).