aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-input.5.scd
diff options
context:
space:
mode:
authorLibravatar Bor Grošelj Simić <bor.groseljsimic@telemach.net>2020-02-27 21:50:21 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2020-03-11 12:12:23 +0100
commit27d5cf131608594788b3755059391d4b78c072b7 (patch)
treeba84de92919d5b32e1e476d0b726f282f4f14502 /sway/sway-input.5.scd
parentipc: add missing required properties (diff)
downloadsway-27d5cf131608594788b3755059391d4b78c072b7.tar.gz
sway-27d5cf131608594788b3755059391d4b78c072b7.tar.zst
sway-27d5cf131608594788b3755059391d4b78c072b7.zip
input: implement cycling through keyboard layout list
Diffstat (limited to 'sway/sway-input.5.scd')
-rw-r--r--sway/sway-input.5.scd12
1 files changed, 8 insertions, 4 deletions
diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd
index e23e0b93..9edd9381 100644
--- a/sway/sway-input.5.scd
+++ b/sway/sway-input.5.scd
@@ -66,10 +66,14 @@ For more information on these xkb configuration options, see
66*input* <identifier> xkb_rules <rules> 66*input* <identifier> xkb_rules <rules>
67 Sets files of rules to be used for keyboard mapping composition. 67 Sets files of rules to be used for keyboard mapping composition.
68 68
69*input* <identifier> xkb_switch_layout <index> 69*input* <identifier> xkb_switch_layout <index>|next|prev
70 Changes the active keyboard layout index. This can be used when multiple 70 Changes the active keyboard layout to <index> counting from zero or to
71 layouts are configured with *xkb_layout*. A list of layouts you can switch 71 next or previous layout on the list. If there is no next or previous
72 between can be obtained with *swaymsg -t get_inputs*. 72 layout, this command hops to the other end of the list.
73
74 This can be used when multiple layouts are configured with *xkb_layout*.
75 A list of layouts you can switch between can be obtained with
76 *swaymsg -t get_inputs*.
73 77
74*input* <identifier> xkb_variant <variant> 78*input* <identifier> xkb_variant <variant>
75 Sets the variant of the keyboard like _dvorak_ or _colemak_. 79 Sets the variant of the keyboard like _dvorak_ or _colemak_.