diff options
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r-- | sway/sway.5.scd | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd index 90d7fed8..ca47c1f9 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd | |||
@@ -378,7 +378,7 @@ runtime. | |||
378 | *bindcode* [--whole-window] [--border] [--exclude-titlebar] [--release] [--locked] [--input-device=<device>] [--no-warn] <code> <command> | 378 | *bindcode* [--whole-window] [--border] [--exclude-titlebar] [--release] [--locked] [--input-device=<device>] [--no-warn] <code> <command> |
379 | is also available for binding with key/button codes instead of key/button names. | 379 | is also available for binding with key/button codes instead of key/button names. |
380 | 380 | ||
381 | *bindswitch* [--locked] [--no-warn] <switch>:<state> <command> | 381 | *bindswitch* [--locked] [--no-warn] [--reload] <switch>:<state> <command> |
382 | Binds <switch> to execute the sway command _command_ on state changes. | 382 | Binds <switch> to execute the sway command _command_ on state changes. |
383 | Supported switches are _lid_ (laptop lid) and _tablet_ (tablet mode) | 383 | Supported switches are _lid_ (laptop lid) and _tablet_ (tablet mode) |
384 | switches. Valid values for _state_ are _on_, _off_ and _toggle_. These | 384 | switches. Valid values for _state_ are _on_, _off_ and _toggle_. These |
@@ -391,6 +391,11 @@ runtime. | |||
391 | and without _--locked_, the one with will be preferred when locked and the | 391 | and without _--locked_, the one with will be preferred when locked and the |
392 | one without will be preferred when unlocked. | 392 | one without will be preferred when unlocked. |
393 | 393 | ||
394 | If the _--reload_ flag is given, the binding will also be executed when | ||
395 | the config is reloaded. _toggle_ bindings will not be executed on reload. | ||
396 | The _--locked_ flag will operate as normal so if the config is reloaded | ||
397 | while locked and _--locked_ is not given, the binding will not be executed. | ||
398 | |||
394 | By default, if you overwrite a binding, swaynag will give you a warning. To | 399 | By default, if you overwrite a binding, swaynag will give you a warning. To |
395 | silence this, use the _--no-warn_ flag. | 400 | silence this, use the _--no-warn_ flag. |
396 | 401 | ||