aboutsummaryrefslogtreecommitdiff
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorBrian Ashworth <RedSoxFan@users.noreply.github.com>2018-12-02 22:41:22 -0500
committerGitHub <noreply@github.com>2018-12-02 22:41:22 -0500
commit6788910fd79b6bf28da473cab92c370e450f7cb3 (patch)
tree277085cbe90c8293b07d40b5f185047aed841213 /sway/sway.5.scd
parentbf11a778840188e8f78a8637d70d3ade8df1380b (diff)
parent1a1a2d96cb27f70d072765259cddb29a6dd968a0 (diff)
Merge pull request #3239 from ForTheReallys/bindsym-no-warn
Add option to bindsym/bindcode to suppress warning on override
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd8
1 files changed, 5 insertions, 3 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 651c2302..f90c9c80 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -277,14 +277,16 @@ runtime.
for\_window <criteria> move container to output <output>
-*bindsym* [--release|--locked] [--input-device=<device>] <key combo> <command>
+*bindsym* [--release|--locked] [--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
released. Unless the flag _--locked_ is set, the command will not be run
when a screen locking program is active. If _input-device_ is given, the
binding will only be executed for that input device and will be executed
- instead of any binding that is generic to all devices.
+ instead of any binding that is generic to all devices. By default, if you
+ overwrite a binding, swaynag will give you a warning. To silence this, use
+ the _--no-warn_ flag.
Example:
```
@@ -292,7 +294,7 @@ runtime.
bindsym Mod1+Shift+f exec firefox
```
- *bindcode* [--release|--locked] [--input-device=<device>] <code> <command>
+ *bindcode* [--release|--locked] [--input-device=<device>] [--no-warn] <code> <command>
is also available for binding with key codes instead of key names.
*client.<class>* <border> <background> <text> <indicator> <child\_border>