MyNixOS website logo
option

services.aerospace.settings.on-window-detected

Commands to run every time a new window is detected with optional conditions.

Declarations
    Type
    list of (submodule)
    Default
    [ ]
    Example
    [
      {
        check-further-callbacks = false;
        if = {
          app-id = "Another.Cool.App";
          app-name-regex-substring = "CoolApp";
          during-aerospace-startup = false;
          window-title-regex-substring = "Title";
          workspace = "cool-workspace";
        };
        run = [
          "move-node-to-workspace m"
          "resize-node"
        ];
      }
    ]