cmd_move: add support for output current

This adds support for the following commands for i3 compatibility:
- `move [window|container] [to] output current`
- `move workspace to [output] current`
- `move workspace [to] output current`

The above commands are only useful when used with criteria.
This commit is contained in:
Brian Ashworth 2019-04-30 17:08:25 -04:00 committed by Drew DeVault
parent 3b3e0560be
commit 13cbb3b7fc
2 changed files with 12 additions and 3 deletions

View file

@ -206,7 +206,7 @@ set|plus|minus <amount>
*move* [container|window] [to] workspace back_and_forth
Moves the focused container to previously focused workspace.
*move* [container|window] [to] output <name-or-id>
*move* [container|window] [to] output <name-or-id>|current
Moves the focused container to the specified output.
*move* [container|window] [to] output up|right|down|left
@ -216,10 +216,10 @@ set|plus|minus <amount>
*move* [container|window] [to] scratchpad
Moves the focused container to the scratchpad.
*move* workspace [to] output <name-or-id>
*move* workspace [to] output <name-or-id>|current
Moves the focused workspace to the specified output.
*move* workspace to [output] <name-or-id>
*move* workspace to [output] <name-or-id>|current
Moves the focused workspace to the specified output.
*move* workspace [to] output up|right|down|left