Skip to content

swapwsbyindex

Bakkeby edited this page Feb 27, 2024 · 2 revisions
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

Back to Functions > Workspace.

Clone this wiki locally