From c6b5aef913cf55823d58cf1de2a4e658f37cefdf Mon Sep 17 00:00:00 2001 From: Ronan Pigott Date: Tue, 14 Jan 2020 20:07:44 -0700 Subject: [PATCH] sway.5: Document missing bindsym flags for unbindsym sway.5: Remove indents within long command descriptions --- sway/sway.5.scd | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/sway/sway.5.scd b/sway/sway.5.scd index 29e9809b..b19289d8 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd @@ -356,8 +356,8 @@ runtime. for_window move container to output *bindsym* [--whole-window] [--border] [--exclude-titlebar] [--release] [--locked] \ - [--to-code] [--input-device=] [--no-warn] [Group<1-4>+] \ - +[--to-code] [--input-device=] [--no-warn] [Group<1-4>+] \ + 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 @@ -409,7 +409,7 @@ runtime. ``` *bindcode* [--whole-window] [--border] [--exclude-titlebar] [--release] \ - [--locked] [--input-device=] [--no-warn] [Group<1-4>+] +[--locked] [--input-device=] [--no-warn] [Group<1-4>+] is also available for binding with key/button codes instead of key/button names. *bindswitch* [--locked] [--no-warn] [--reload] : @@ -725,12 +725,14 @@ The default colors are: *unbindswitch* : Removes a binding for when changes to . -*unbindsym* [--whole-window] [--border] [--exclude-titlebar] [--release] [--input-device=] +*unbindsym* [--whole-window] [--border] [--exclude-titlebar] [--release] [--locked] \ +[--to-code] [--input-device=] Removes the binding for _key combo_ that was previously bound with the given flags. If _input-device_ is given, only the binding for that input device will be unbound. - *unbindcode* [--whole-window] [--border] [--exclude-titlebar] [--release] [input-device=] + *unbindcode* [--whole-window] [--border] [--exclude-titlebar] [--release] \ +[--locked] [input-device=] is also available for unbinding with key/button codes instead of key/button names. *unmark* []