doc: add [--inhibited] to bindsym and bindcode

Also noticed bindcode is missing [--no-repeat], not sure if this is intentional or not.
This commit is contained in:
Shaked Flur 2023-06-08 13:40:02 +01:00
parent f3b8c9feee
commit 52060049d1

View file

@ -389,8 +389,8 @@ runtime.
for_window <criteria> move container to output <output>
*bindsym* [--whole-window] [--border] [--exclude-titlebar] [--release] [--locked] \
[--to-code] [--input-device=<device>] [--no-warn] [--no-repeat] [Group<1-4>+]<key combo> \
<command>
[--to-code] [--input-device=<device>] [--no-warn] [--no-repeat] [--inhibited] \
[Group<1-4>+]<key combo> <command>
Binds _key combo_ to execute the sway command _command_ when pressed. You
may use XKB key names here (*wev*(1) is a good tool for discovering these).
With the flag _--release_, the command is executed when the key combo is
@ -454,7 +454,8 @@ runtime.
```
*bindcode* [--whole-window] [--border] [--exclude-titlebar] [--release] \
[--locked] [--input-device=<device>] [--no-warn] [Group<1-4>+]<code> <command>
[--locked] [--input-device=<device>] [--no-warn] [--inhibited] [Group<1-4>+]<code> \
<command>
is also available for binding with key/button codes instead of key/button names.
*bindswitch* [--locked] [--no-warn] [--reload] <switch>:<state> <command>