aboutsummaryrefslogtreecommitdiff
path: root/sway/sway-input.5.scd
diff options
context:
space:
mode:
Diffstat (limited to 'sway/sway-input.5.scd')
-rw-r--r--sway/sway-input.5.scd5
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd
index 3191bddf..be173c45 100644
--- a/sway/sway-input.5.scd
+++ b/sway/sway-input.5.scd
@@ -57,6 +57,11 @@ For more information on these xkb configuration options, see
*input* <identifier> xkb_rules <rules>
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>
Sets the variant of the keyboard like _dvorak_ or _colemak_.