placedir - bakkeby/dusk GitHub Wiki
Function | Expected argument | Default keybinding |
---|---|---|
placedir |
0 , 1 , 2 and 3
|
Super+Ctrl+<arrow key> |
The placedir
function allows clients to swap places in a directional manner by calculating the
best suitable candidate based on the position and size of all visible windows.
This may be desirable for grid layouts or the fibonacci spiral / dwindle layouts rather than simply moving clients up and down the stack.
- move a client in any direction (up, down, left, right)
- swaps places with the target client in the given direction
- works across workspaces (when more than one workspace is viewed at the same time)
- will be independently moved to an empty workspace in the given direction
- wraps around across monitors (as opposed to being isolated to a single monitor)
- restricted to tiled windows only
External commands:
duskc run_command placedir 0 # Left
duskc run_command placedir 1 # Right
duskc run_command placedir 2 # Up
duskc run_command placedir 3 # Down
Also see focusdir.