aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-06-10 08:38:56 +0300
committerBrian Ashworth <bosrsf04@gmail.com>2019-06-10 01:41:44 -0400
commit3f2518edc1707972a7221b70a1bcffb82fbfe958 (patch)
tree82cbd93045951a8e84c40dcf06d7150cd5c4295a
parent2bccb387d81298ffd3b88a193deb3e32c0b6c494 (diff)
downloadsway-3f2518edc1707972a7221b70a1bcffb82fbfe958.tar.xz
Add missing docs for xkb_switch_layout
-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_.