SwitchWorkspace - bakkeby/dusk GitHub Wiki

A client can be set to start on a specific workspace using client rules, e.g. here gimp is to start on workspace 5:

   { .class = "Gimp", .workspace = "5", .flags = Floating|SwitchWorkspace },

The SwitchWorkspace flag tells the window manager to automatically switch to workspace 5 when gimp starts.

Workspace 5 in this context will be shown on the monitor it currently resides on, as opposed to being moved to the monitor that has focus.

If the window swallows a terminal then the workspace of the terminal is used and the SwitchWorkspace flag has no effect.

If the window was spawned via riospawn then the current workspace is used and the SwitchWorkspace flag has no effect.

If the workspace the client starts on is already visible then the SwitchWorkspace flag has no effect.

Also see:

Back to Features > Flags.

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