aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Pospelov <kupospelov@gmail.com>2019-02-18 21:39:37 +0300
committerSimon Ser <contact@emersion.fr>2019-04-26 20:56:48 +0300
commitd27a5e1cb0f14e939d47497ebc49cfb422cc947b (patch)
treeda6e296facc5abfd8f0df0de9aa23d7fcb0512cc
parent998de8fbc5b4115f1fba9853f85484a5a2ec0c84 (diff)
downloadsway-d27a5e1cb0f14e939d47497ebc49cfb422cc947b.tar.xz
bindsym: update the man page to include --to-code
-rw-r--r--sway/sway.5.scd6
1 files changed, 5 insertions, 1 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 230ceeec..9fe51c33 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -327,7 +327,7 @@ runtime.
for_window <criteria> move container to output <output>
-*bindsym* [--whole-window] [--border] [--exclude-titlebar] [--release] [--locked] [--input-device=<device>] [--no-warn] <key combo> <command>
+*bindsym* [--whole-window] [--border] [--exclude-titlebar] [--release] [--locked] [--to-code] [--input-device=<device>] [--no-warn] <key combo> <command>
Binds _key combo_ to execute the sway command _command_ when pressed. You
may use XKB key names here (*xev*(1) is a good tool for discovering these).
With the flag _--release_, the command is executed when the key combo is
@@ -338,6 +338,10 @@ runtime.
overwrite a binding, swaynag will give you a warning. To silence this, use
the _--no-warn_ flag.
+ Bindings to keysyms are layout-dependent. This can be changed with the
+ _--to-code_ flag. In this case, the keysyms will be translated into the
+ corresponding keycodes in the first configured layout.
+
Mouse bindings operate on the container under the cursor instead of the
container that has focus. Mouse buttons can either be specified in the form
_button[1-9]_ or by using the name of the event code (ex _BTN\_LEFT_ or