aboutsummaryrefslogtreecommitdiff
path: root/sway/sway-input.5.scd
diff options
context:
space:
mode:
authorBrian Ashworth <RedSoxFan@users.noreply.github.com>2018-07-25 12:07:35 -0400
committerGitHub <noreply@github.com>2018-07-25 12:07:35 -0400
commitc8dc9b3b3094c9b2778309855114b9495518c2d4 (patch)
treefbe2ecd9c36e7e1d954853f76d813ecdcd1a2e57 /sway/sway-input.5.scd
parent6a8d1e5044086a8dce121bd1f405b342e17a1301 (diff)
parent76ece5788bffe27b32c85968886f3738d244abf9 (diff)
Merge pull request #2330 from progandy/set-modifier-locks
Configure initial state for numlock/capslock
Diffstat (limited to 'sway/sway-input.5.scd')
-rw-r--r--sway/sway-input.5.scd8
1 files changed, 8 insertions, 0 deletions
diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd
index b6391431..fa311971 100644
--- a/sway/sway-input.5.scd
+++ b/sway/sway-input.5.scd
@@ -33,6 +33,14 @@ For more information on these xkb configuration options, see
*input* <identifier> xkb\_variant <variant>
Sets the variant of the keyboard like _dvorak_ or _colemak_.
+The following commands may only be used in the configuration file.
+
+*input* <identifier> xkb\_capslock enabled|disabled
+ Initially enables or disables CapsLock, the default is disabled.
+
+*input* <identifier> xkb\_numlock enabled|disabled
+ Initially enables or disables NumLock, the default is enabled.
+
## MAPPING CONFIGURATION
*input* <identifier> map\_to\_output <identifier>