aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Konstantin Pospelov <kupospelov@gmail.com>2019-02-18 21:39:37 +0300
committerLibravatar Simon Ser <contact@emersion.fr>2019-04-26 20:56:48 +0300
commitd27a5e1cb0f14e939d47497ebc49cfb422cc947b (patch)
treeda6e296facc5abfd8f0df0de9aa23d7fcb0512cc
parentbindsym: change default keymap for --to-code (diff)
downloadsway-d27a5e1cb0f14e939d47497ebc49cfb422cc947b.tar.gz
sway-d27a5e1cb0f14e939d47497ebc49cfb422cc947b.tar.zst
sway-d27a5e1cb0f14e939d47497ebc49cfb422cc947b.zip
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.
327 327
328 for_window <criteria> move container to output <output> 328 for_window <criteria> move container to output <output>
329 329
330*bindsym* [--whole-window] [--border] [--exclude-titlebar] [--release] [--locked] [--input-device=<device>] [--no-warn] <key combo> <command> 330*bindsym* [--whole-window] [--border] [--exclude-titlebar] [--release] [--locked] [--to-code] [--input-device=<device>] [--no-warn] <key combo> <command>
331 Binds _key combo_ to execute the sway command _command_ when pressed. You 331 Binds _key combo_ to execute the sway command _command_ when pressed. You
332 may use XKB key names here (*xev*(1) is a good tool for discovering these). 332 may use XKB key names here (*xev*(1) is a good tool for discovering these).
333 With the flag _--release_, the command is executed when the key combo is 333 With the flag _--release_, the command is executed when the key combo is
@@ -338,6 +338,10 @@ runtime.
338 overwrite a binding, swaynag will give you a warning. To silence this, use 338 overwrite a binding, swaynag will give you a warning. To silence this, use
339 the _--no-warn_ flag. 339 the _--no-warn_ flag.
340 340
341 Bindings to keysyms are layout-dependent. This can be changed with the
342 _--to-code_ flag. In this case, the keysyms will be translated into the
343 corresponding keycodes in the first configured layout.
344
341 Mouse bindings operate on the container under the cursor instead of the 345 Mouse bindings operate on the container under the cursor instead of the
342 container that has focus. Mouse buttons can either be specified in the form 346 container that has focus. Mouse buttons can either be specified in the form
343 _button[1-9]_ or by using the name of the event code (ex _BTN\_LEFT_ or 347 _button[1-9]_ or by using the name of the event code (ex _BTN\_LEFT_ or