diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-02-18 21:39:37 +0300 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-02-18 21:39:37 +0300 |
| commit | 5e9fb3d73853ca668d44135c96a40fc98e3171d3 (patch) | |
| tree | da6e296facc5abfd8f0df0de9aa23d7fcb0512cc | |
| parent | b6c0636a679fd5e6dcf36cdbfef4f0e425148847 (diff) | |
bindsym: update the man page to include --to-code
| -rw-r--r-- | sway/sway.5.scd | 6 |
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 |
