docs: better connect 'index' to -layout in riverctl(1)

This commit is contained in:
tiosgz 2022-07-02 19:46:12 +00:00 committed by GitHub
parent 7402cb8aea
commit b58bd829c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,9 +203,9 @@ A complete list may be found in _/usr/include/linux/input-event-codes.h_
- _-layout_: if passed, a specific layout is pinned to the mapping. - _-layout_: if passed, a specific layout is pinned to the mapping.
When the mapping is checked against a pressed key, this layout is When the mapping is checked against a pressed key, this layout is
used to translate the key independent of the active layout used to translate the key independent of the active layout
- _index_: zero-based index of a layout set with the environment variable - _index_: zero-based index of a layout set with the environment
*XKB_DEFAULT_LAYOUT*; see *river*(1) for an example; if the index is variable *XKB_DEFAULT_LAYOUT*; see *river*(1) for an example; if
out of range, the _-layout_ option will have no effect the index is out of range, the _-layout_ option will have no effect
- _mode_: name of the mode for which to create the mapping - _mode_: name of the mode for which to create the mapping
- _modifiers_: one or more of the modifiers listed above, separated - _modifiers_: one or more of the modifiers listed above, separated
by a plus sign (+). by a plus sign (+).