diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-05-26 11:02:21 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-05-26 11:05:02 -0400 |
commit | 569f4e0e4c75562c38848ea0bbaeb3b2f230b1a9 (patch) | |
tree | 02716bf706478cc5ca73d892dfc34c8a327897b3 /sway/sway.5.scd | |
parent | Replace oft-failing abort with if statement (diff) | |
download | sway-569f4e0e4c75562c38848ea0bbaeb3b2f230b1a9.tar.gz sway-569f4e0e4c75562c38848ea0bbaeb3b2f230b1a9.tar.zst sway-569f4e0e4c75562c38848ea0bbaeb3b2f230b1a9.zip |
Implement swap command
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r-- | sway/sway.5.scd | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd index ff138562..25a5eef5 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd | |||
@@ -167,6 +167,15 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1). | |||
167 | "Sticks" a floating window to the current output so that it shows up on all | 167 | "Sticks" a floating window to the current output so that it shows up on all |
168 | workspaces. | 168 | workspaces. |
169 | 169 | ||
170 | *swap* container with id|con\_id|mark <arg> | ||
171 | Swaps the position, geometry, and fullscreen status of two containers. The | ||
172 | first container can be selected either by criteria or focus. The second | ||
173 | container can be selected by _id_, _con\_id_, or _mark_. _id_ can only be | ||
174 | used with xwayland views. If the first container has focus, it will retain | ||
175 | focus unless it is moved to a different workspace or the second container | ||
176 | becomes fullscreen on the same workspace as the first container. In either | ||
177 | of those cases, the second container will gain focus. | ||
178 | |||
170 | The following commands may be used either in the configuration file or at | 179 | The following commands may be used either in the configuration file or at |
171 | runtime. | 180 | runtime. |
172 | 181 | ||