swapwsbyindex - bakkeby/dusk GitHub Wiki
| Function | Expected argument | Default keybinding |
|---|---|---|
| swapwsbyindex | int (workspace index) | N/A |
The swapwsbyindex function swaps the all the clients on the current workspace with all the
clients on the nth workspace on the current monitor.
There are no default configuration options for this function, but it can be used to replace the
default behaviour of the WSKEYS macro. Refer to this
guide for more details.
External command:
$ duskc run_command swapwsbyindex "6" # swap all between the current workspace with the 6th workspace