wayland.windowManager.sway.config.assigns

An attribute set that assigns applications to workspaces based on criteria.

Type
attribute set of list of attribute set of (string or boolean)
Default
{ }
Example
{
"1: web" = [{ class = "^Firefox$"; }];
"0: extra" = [{ class = "^Firefox$"; window_role = "About"; }];
}
Declared
<home-manager/modules/services/window-managers/i3-sway/sway.nix>