Skip to content

movetowsbyindex

Bakkeby edited this page Feb 27, 2024 · 2 revisions
Function Expected argument Default keybinding
movetowsbyindex int (workspace index) N/A

The movetowsbyindex function moves the currently active window to 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 movetowsbyindex "6"  # move the selected client to the 6th workspace

Also see clienttomon and sendtowsbyindex.

Back to Functions > Workspace.

Clone this wiki locally