MyNixOS website logo
option

wayland.windowManager.sway.config.assigns

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

Declarations
Type
attribute set of list of attribute set of (string or boolean)
Default
{ }
Example
{
  "0: extra" = [
    {
      class = "^Firefox$";
      window_role = "About";
    }
  ];
  "1: web" = [
    {
      class = "^Firefox$";
    }
  ];
}