Skip to content

movealltowsbyindex

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

The movealltowsbyindex function moves all windows on the current workspace 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 movealltowsbyindex "6"  # move all clients to the 6th workspace on current monitor

Also see clientstomon and moveallfromwsbyindex.

Back to Functions > Workspace.

Clone this wiki locally