comboviewwsbyindex - bakkeby/dusk GitHub Wiki

Function Expected argument Default keybinding
comboviewwsbyindex int (workspace index) N/A

The comboviewwsbyindex function changes the view 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.

The combo mechanic allows for multiple number keys to be held down to view multiple workspaces, e.g. Super+7+9 will bring both the 7th and 9th workspace into view.

The selected workspace when using this feature will be the workspace the mouse cursor is on.

If the mouse cursor is resting on the bar or is on another monitor then the selected workspace will be the last one that was enabled. I.e. Super+7+9 would result in the 9th workspace to be the selected one whereas Super+9+7 would let the 7th workspace have focus.

If the user then does Super+8 then the view will change to the 8th workspace on the current monitor. If the user runs Super+8 a second time then the view will revert to the previous view, the 7th and 9th workspace in this case.

There are no external commands for this function.

Back to Functions > Workspace.

⚠️ **GitHub.com Fallback** ⚠️