diff options
author | Alex Maese <memaese@hotmail.com> | 2018-12-02 15:05:51 -0600 |
---|---|---|
committer | Alex Maese <memaese@hotmail.com> | 2018-12-02 21:35:44 -0600 |
commit | 1a1a2d96cb27f70d072765259cddb29a6dd968a0 (patch) | |
tree | 277085cbe90c8293b07d40b5f185047aed841213 /sway/sway.5.scd | |
parent | fix typo (diff) | |
download | sway-1a1a2d96cb27f70d072765259cddb29a6dd968a0.tar.gz sway-1a1a2d96cb27f70d072765259cddb29a6dd968a0.tar.zst sway-1a1a2d96cb27f70d072765259cddb29a6dd968a0.zip |
Add option to bindsym/bindcode to suppress warning on override
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r-- | sway/sway.5.scd | 8 |
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. | |||
277 | 277 | ||
278 | for\_window <criteria> move container to output <output> | 278 | for\_window <criteria> move container to output <output> |
279 | 279 | ||
280 | *bindsym* [--release|--locked] [--input-device=<device>] <key combo> <command> | 280 | *bindsym* [--release|--locked] [--input-device=<device>] [--no-warn] <key combo> <command> |
281 | Binds _key combo_ to execute the sway command _command_ when pressed. You | 281 | Binds _key combo_ to execute the sway command _command_ when pressed. You |
282 | may use XKB key names here (*xev*(1) is a good tool for discovering these). | 282 | may use XKB key names here (*xev*(1) is a good tool for discovering these). |
283 | With the flag _--release_, the command is executed when the key combo is | 283 | With the flag _--release_, the command is executed when the key combo is |
284 | released. Unless the flag _--locked_ is set, the command will not be run | 284 | released. Unless the flag _--locked_ is set, the command will not be run |
285 | when a screen locking program is active. If _input-device_ is given, the | 285 | when a screen locking program is active. If _input-device_ is given, the |
286 | binding will only be executed for that input device and will be executed | 286 | binding will only be executed for that input device and will be executed |
287 | instead of any binding that is generic to all devices. | 287 | instead of any binding that is generic to all devices. By default, if you |
288 | overwrite a binding, swaynag will give you a warning. To silence this, use | ||
289 | the _--no-warn_ flag. | ||
288 | 290 | ||
289 | Example: | 291 | Example: |
290 | ``` | 292 | ``` |
@@ -292,7 +294,7 @@ runtime. | |||
292 | bindsym Mod1+Shift+f exec firefox | 294 | bindsym Mod1+Shift+f exec firefox |
293 | ``` | 295 | ``` |
294 | 296 | ||
295 | *bindcode* [--release|--locked] [--input-device=<device>] <code> <command> | 297 | *bindcode* [--release|--locked] [--input-device=<device>] [--no-warn] <code> <command> |
296 | is also available for binding with key codes instead of key names. | 298 | is also available for binding with key codes instead of key names. |
297 | 299 | ||
298 | *client.<class>* <border> <background> <text> <indicator> <child\_border> | 300 | *client.<class>* <border> <background> <text> <indicator> <child\_border> |