Add missing docs for xkb_switch_layout

This commit is contained in:
Simon Ser 2019-06-10 08:38:56 +03:00 committed by Brian Ashworth
parent 2bccb387d8
commit 3f2518edc1

View File

@ -57,6 +57,11 @@ For more information on these xkb configuration options, see
*input* <identifier> xkb_rules <rules> *input* <identifier> xkb_rules <rules>
Sets files of rules to be used for keyboard mapping composition. Sets files of rules to be used for keyboard mapping composition.
*input* <identifier> xkb_switch_layout <index>
Changes the active keyboard layout index. This can be used when multiple
layouts are configured with `xkb_layout`. A list of layouts you can switch
between can be obtained with `swaymsg -t get_inputs`.
*input* <identifier> xkb_variant <variant> *input* <identifier> xkb_variant <variant>
Sets the variant of the keyboard like _dvorak_ or _colemak_. Sets the variant of the keyboard like _dvorak_ or _colemak_.